Note: The other languages of the website are Google-translated. Back to English
Увійти  \/ 
x
or
x
Реєстрація  \/ 
x

or

Як повернути значення в іншій комірці, якщо комірка містить певний текст у Excel?

Як приклад, показаний нижче, коли клітинка E6 містить значення "Так", комірка F6 автоматично заповнюється значенням "затвердити". Якщо ви змінили значення "Так" на "Ні" або "Нейтральність" в E6, значення в F6 негайно зміниться на "Заборонити" або "Переглянути". Як ви можете досягти цього? У цій статті зібрано кілька корисних методів, які допоможуть вам легко її вирішити


Повернути значення в іншій комірці, якщо комірка містить певний текст із формулою

Щоб повернути значення в іншій комірці, якщо комірка містить лише певний текст, спробуйте наступну формулу. Наприклад, якщо B5 містить "Так", тоді поверніть "Затвердити" в D5, інакше поверніть "Не відповідає". Будь ласка, виконайте наступне.

Виберіть D5 і скопіюйте в нього формулу нижче та натисніть вводити ключ. Дивіться знімок екрана:

формула: Повернути значення в іншій комірці, якщо комірка містить певний текст

= IF (ISNUMBER (SEARCH (")да",D5)), "Схвалювати","Немає кваліфікації")

Примітки:

1. У формулі "да», D5"схвалювати"І"Немає кваліфікації"Вкажіть, що якщо комірка B5 містить текст" Так ", зазначена комірка буде заповнена текстом" затвердити ", інакше вона буде заповнена" Не відповідає " Ви можете змінити їх відповідно до своїх потреб.

2. Для повернення значення з інших комірок (наприклад, K8 та K9) на основі вказаного значення комірки, використовуйте цю формулу:

= IF (ISNUMBER (SEARCH (")да",D5)),K8,K9)

Легко виділіть цілі рядки або цілі рядки у виділенні на основі значення комірки в певному стовпці:

повне г, повне г,, показали, від, номер, XNUMX Виберіть певні клітини корисність Kutools для Excel може допомогти вам швидко виділити цілі рядки або цілі рядки у виділенні на основі конкретного значення комірки в певному стовпці в Excel.  Завантажте повнофункціональний 60-денний безкоштовний шлях Kutools для Excel зараз!


Повернути значення в іншій комірці, якщо комірка містить різні тексти з формулою

У цьому розділі буде показано формулу повернення значень в іншій комірці, якщо комірка містить інший текст у Excel.

1. Вам потрібно створити таблицю з конкретними значеннями та повернутими значеннями, які розміщені окремо у двох стовпцях. Дивіться знімок екрана:

2. Виберіть порожню комірку для повернення значення, введіть у неї формулу нижче та натисніть клавішу вводити ключ, щоб отримати результат. Дивіться знімок екрана:

формула: Повернути значення в іншій комірці, якщо комірка містить різні тексти

= VLOOKUP (E6,B5: C7,2,ПОМИЛКОВИЙ)

Примітки:

У формулі E6 - комірка містить конкретне значення, за яким ви повернете значення, B5: C7 - діапазон стовпців, що містить конкретні значення та повернені значення, 2 число означає, що повернені значення, розміщені у другому стовпці в діапазоні таблиці.

Відтепер, при зміні значення в E6 на конкретне, його відповідне значення буде негайно повернуто в F6.


Легко повертати значення в іншій комірці, якщо комірка містить різні тексти

Насправді ви можете вирішити вищезазначену проблему більш простим способом. Шукайте значення у списку корисність Kutools для Excel може допомогти вам досягти цього лише кількома клацаннями, не пам’ятаючи формулу.

1. Так само, як і вищеописаний метод, вам також потрібно створити таблицю з конкретними значеннями та повернутими значеннями, які розміщуються окремо у двох стовпцях.

2. Виберіть порожню комірку для виведення результату (тут я вибираю F6), а потім натисніть Кутулс > Помічник формули > Помічник формули. Дивіться знімок екрана:

3 В Помічник формули діалогове вікно, будь ласка, налаштуйте наступним чином:

  • 3.1 У Виберіть формулу знайдіть і виберіть Шукайте значення у списку;
    чайові: Ви можете перевірити фільтр поле, введіть певне слово в текстове поле, щоб швидко відфільтрувати формулу.
  • 3.2 У Масив_таблиці виберіть таблицю без заголовків, яку ви створили на кроці 1;
  • 3.2 У Пошук_значення виберіть клітинка, яка містить конкретне значення, на основі якого ви повернете значення;
  • 3.3 У Колонка вкажіть стовпець, з якого ви повернете відповідне значення. Або ви можете ввести номер стовпця в текстове поле безпосередньо, як вам потрібно.
  • 3.4 Натисніть кнопку OK кнопку. Дивіться знімок екрана:

Відтепер, при зміні значення в E6 на конкретне, його відповідне значення буде негайно повернуто в F6. Див. Результат, як показано нижче:

  Якщо ви хочете отримати безкоштовну (30-денну) пробну програму, натисніть, щоб завантажити, а потім перейдіть до застосування операції, як описано вище.


Kutools для Excel - Допомагає завжди закінчувати роботу заздалегідь, мати більше часу, щоб насолоджуватися життям
Ви часто бачите себе, граючись у наздоганяючу роботу, відсутність часу, щоб витратити себе та родину?  Kutools для Excel може допомогти вам розібратися з 80% головоломок Excel і підвищити ефективність роботи на 80%, дасть вам більше часу, щоб піклуватися про сім'ю та насолоджуватися життям.
300 вдосконалених інструментів для 1500 сценаріїв роботи роблять вашу роботу набагато простішою, ніж будь-коли.
Більше не потрібно запам’ятовувати формули та коди VBA, дайте мозку відпочити відтепер.
Складні та повторювані операції можна виконати одноразово за кілька секунд.
Щодня зменшуйте тисячі операцій з клавіатурою та мишею, прощайтеся з професійними захворюваннями вже зараз.
Стати експертом Excel за 3 хвилини, допоможе вам швидко отримати визнання та підвищити заробітну плату.
110,000 300 високоефективних людей та XNUMX+ всесвітньо відомих компаній на вибір.
Зробіть ваші $ 39.0 вартістю більше, ніж $ 4000.0, навчання інших.
Повна функціональна безкоштовна пробна версія 30 днів. 60-денна гарантія повернення грошей без причини.

Say something here...
symbols left.
You are guest
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Guest · 12 days ago
    OK, will try to explain best I can....here it goes:

    If a given cell (let's just call it A7) has a certain value/text/number/etc., then I'd like to take the corresponding row of information to another row of cells in a different excel tab.....(i.e., if cell A7 says Credit Card, then need to move A1 through A6, as a whole, somewhere else) (same sheet, just different tab). Thanks!
  • To post as a guest, your comment is unpublished.
    Aaroon · 14 days ago
    I have email address in one column.  Based upon the root(after the @before.com) I want to return a specific text in another cell. For D1 has johndoe@gmail.com I want C1 to be gmail. I have 9000 rows so I want the formula to search all of D and every gmail it finds I want C to say gmail. I will then write another formula for yahoo, aol etc.
  • To post as a guest, your comment is unpublished.
    Mohammad Ezzat · 3 months ago
    I wanna compare the result of (yes or no) in 6 horizontal different cells , if only one cell is (yes) , i will print "yes"
     Else ,  i will print "No".
    So, how could i make that please ?
    • To post as a guest, your comment is unpublished.
      Lilith · 20 days ago
      There are at least two different ways to do this. It depends on whether or not the cells you are examining are adjacent. What you do, is a two-step examination with two different formulas, where the result of the embedded formula is used to determine the result of the main IF formula. Here are some examples, the first one for cells away from each other and the second for cells adjacent in a single row/column:

      =IF(OR(A2="YES";B3="YES";D5="YES";E8="YES";G7="YES";AX6="YES");"YES";"NO")

      =IF(COUNTIF(A1:F1;"YES")>=1;"YES";"NO")

      In both cases, the final result of the IF formula is YES if at least one of the examined cells contains a "YES" text, otherwise it is NO.

      I don't know whether you have already found a solution but I still hope this helps :)
  • To post as a guest, your comment is unpublished.
    BFANTA · 6 months ago
    I want to report procedure times in an operating room according to Attending Surgeon.  I have the surgeons' names in column z, from cells 4-160.  The procedure time is in column J. So I want to report a list of times for each surgeon for the month.  Is this an If, or, statement?

  • To post as a guest, your comment is unpublished.
    nick eldridge · 1 years ago
    Hi, I am trying to work out a formula so that a cell prepopulates with a number between 1 and 5 depending on where an x is marked in a cell on the same line. For instance E13 has an x in it which means J13 shows a value of 1 or G13 has an x in it and J13 then shows a value of 3, etc. Thank you
    • To post as a guest, your comment is unpublished.
      BFANTA · 6 months ago
      =COUNTIF(A13:I13,"*")
      • To post as a guest, your comment is unpublished.
        BFANTA · 6 months ago
        never mind.  This counts how many cells have an x in it, not which cell.

  • To post as a guest, your comment is unpublished.
    Donna Maher · 1 years ago
    Hi There, I am trying to use an If Then formula (I think). If cell H2='Returned' then I would like cell G2(which is a value) to equal cell E2 which is a value. If cell H4=Confirmed then I would like cell G2 to be blank. Can anyone help? Thank you!
  • To post as a guest, your comment is unpublished.
    clive13 · 1 years ago
    Please could I have some assistance. Is it possible to enter a number into a cell and return a specific amount from another cell. But the difficulty is that I have this scenario. I have 10 Zones, each zone has 48 cells with figures. What I want to do is enter a zone into a cell for the table to update with the figures from that specific column. Example. I enter zone 6 onto my spreadsheet, in return I want all 48 cells to update with the specific amounts from zone 6 column. Again when I change the zone to 4 I want the column to update with the new figures from Zone 4. Anyone who can help would be greatly appreciated
  • To post as a guest, your comment is unpublished.
    Joe Monk · 1 years ago
    Hello. Is there a way I can do the following: Based on one column, copy the data from another column into a new column. Example: a horse race with 5 horses. Column A lists the horses A1 through A5 in their post order (1 through 5). Column B with their rank (for example: B1=3; B2=1; B3=2; B4=5 & B5=4.). Column C list the names of the horses (once again in their post order that matches Column A) What I'm looking to do have column D list the horse numbers (from column A) in the order of their rank. So column D would be D1 = 2; D2 = 3; D3 = 1; D4 = 5; D5 = 4. Is this possible? Thanks - J.
    • To post as a guest, your comment is unpublished.
      crystal · 1 years ago
      Hi Joe Monk,
      Please select cell D1, enter this formula =INDEX($A$1:$A$5,MATCH(C1,$B$1:$B$5,0)) into it and press the Enter key. Then drag the Fill Handle of the first result cell all the way down to get the other horse rank. Hope I can help. Thank you.
      • To post as a guest, your comment is unpublished.
        Joe Monk · 1 years ago
        Crystal, Thank you very much!! Am I correct in assuming that there is no way to have that formula show more than one number in the cell? It works perfectly as long as no two horses have the same rank. If there is a tie (1 in B2 & 1 in B3 for example), it only returns a value of 2 in D1. I have a feeling I'm asking for something beyond the spreadsheet's pay grade. :-) Thanks again for your response & the formula. - Joe
  • To post as a guest, your comment is unpublished.
    Doğuş · 1 years ago
    Hello everyone,
    i need a help for formulas. If a column 16.03.2020 and If b column = same with "c1" cell then sum d column only suitable (If a column 16.03.2020 and If b column = same with "c1" cell) cells
  • To post as a guest, your comment is unpublished.
    abdulhamal · 1 years ago
    Hello,

    I'm trying to run something like this: if column a has numbers in a cell

    1
    2
    3

    I want it to search in the file for all the cells in column A that have 1 to name it as Good and 2 to be named as Bad, and 3 has NA.

    I have what you showed working, but how do i extend it? =IF(ISNUMBER(SEARCH("1",A2)),"Good"),IF(ISNUMBER(SEARCH("2",A2)),"BAD")

    If i just do the first part of Good it works, but when i try to add the formula together i get: #Value!
    • To post as a guest, your comment is unpublished.
      abdulhamal · 1 years ago
      got it:

      =IF(A6=1,"Good",IF(A6=2,"Bad",IF(A6=3,"NA",36))) Not sure what the 36 stands for, but i noticed if none of those numbers meet then it takes 36
      • To post as a guest, your comment is unpublished.
        KORI · 9 months ago
        =IF(ISNUMBER(SEARCH("1",A2)),"Good")&IF(ISNUMBER(SEARCH("2",A2)),"BAD")
  • To post as a guest, your comment is unpublished.
    Srikanth · 2 years ago
    If A1 is 10000 then B1 reflect A1 if i put Yes In c1 Then B1 shoud be Zero. If i put No Then B1 need to show A1
    How can i do this?
    Currently Im using this formula but I think half of the way its not showing B1

    =IF(ISNUMBER(SEARCH("Yes",C1"0","a1")

    in c1 put Yes then b1 need to Zero its done. But when in put No in c1its not showing A1 Value.

    Kindly guide me
  • To post as a guest, your comment is unpublished.
    Lorraine · 2 years ago
    Hi There,
    I need to match up cells in different worksheets.
    So, if client number 12345 (Book1) = Client number 12345 (Book 2), copy the email address in the same row of Book 1 over to Book 2. Two different cells, same row. The defining factor is the Client number and using this, I need the email address copied to the new worksheet. Thanks.
    • To post as a guest, your comment is unpublished.
      crystal · 2 years ago
      Hi Lorraine,
      Maybe the utility mentioned in this article can do you a favor https://www.extendoffice.com/product/kutools-for-excel/excel-merge-tables-by-column.html
      Thank you for commenting.
  • To post as a guest, your comment is unpublished.
    eksch123 · 2 years ago
    I am trying to input this formula. Please help!
    If S2 contains A, E, H, or K then K2 should be 0
    If S2 contains D, I, or J then K2 should be((H2-I2)*.25)
    If S2 contains B, C, F, G, or L then K2 should be((H2-I2)*.80)
    • To post as a guest, your comment is unpublished.
      crystal · 2 years ago
      Hi Emily,
      Sorry can't help you with that.
      Thank you for your comment.
  • To post as a guest, your comment is unpublished.
    Stephen · 2 years ago
    I am using the the formula =if(ISNUMBER(SEARCH("1",B3)),"250","0").

    The idea is that is the cell b3 contains is will dispaly 250 as it the cost of the room. It all works great, however my issue is when I try to sum all the column it gives me 0 even though some fields have 250 in them. Any ideas why?
    • To post as a guest, your comment is unpublished.
      crystal · 2 years ago
      Hi Stephen,
      I try to sum the values (including the returned value 250) as you mentioned, and it returns the correct result in my case.
      Would you please provide a screenshot of your spreadsheet?
  • To post as a guest, your comment is unpublished.
    Joanna · 2 years ago
    Hi, I have three columns and if there is a "Y" in the third column then I want it to output a "Y" in the other two columns before it so for eg:
    A B C
    Y
    Y Y Y
    Y
    Y Y Y

    Any help much appreciated!
    • To post as a guest, your comment is unpublished.
      crystal · 2 years ago
      Hi Joanna,
      Sorry can't help you solving the problem. Welcome to post any question in our forum: https://www.extendoffice.com/forum.html to get more Excel support from out Excel professional or other Excel fans.
  • To post as a guest, your comment is unpublished.
    Khaled · 2 years ago
    Hello,
    How can enter a formula to search a text in a certain column in the entire sheet, if it finds it, it enters a value on the same line on another column e.g search for starbucks in Column d, then enter 70500 on the same line column c
    • To post as a guest, your comment is unpublished.
      crystal · 2 years ago
      Good day,
      Sorry can't help you with that.
      Welcome to post any question in our forum: https://www.extendoffice.com/forum.html to get more Excel support from out Excel professional or other Excel fans.
  • To post as a guest, your comment is unpublished.
    Babad00k · 2 years ago
    Hi, I'm trying to use =IF(ISNUMBER(SEARCH("Name",B20)),"EmployeeNumber","") where I have an input field of Between Cell B20-B75 and I want that If I put a specific person's name in any cell from B20-B75 that their employee number will auto-populate then in the corresponding D column, from D20-D75. So say I put Peter Smith in B20 I want Peter Smith's employee number 700000001to then appear in cell D20, but then should his name appear again anywhere within B20-B75 the same should occur in the corresponding D cell. I hope that's clear enough. Please help!
  • To post as a guest, your comment is unpublished.
    mariana · 3 years ago
    what if I want to add same formula but multiple years? I am trying to say if it contains 2012 then copy value 2012... if text contains 2013 then copy value 2012
  • To post as a guest, your comment is unpublished.
    Gavin · 3 years ago
    HI, if I put JANUARY in cell A1 I would like cell B1 to automatically show "JULY" and so on for the rest of the year with 6 months in between. I don't mind writing a IF JAN then JULY - FEB then AUG formula for each of the months, just can't seem to work out which formula to use and what to write.
    Hope this makes sense. Thank you
  • To post as a guest, your comment is unpublished.
    Chris · 3 years ago
    Hi,

    I am trying to get the below formula to work.
    =IF(ISNUMBER(SEARCH({"Name","Code"},A1)),CONCATENATE(K3,"xx",L3,"hi"))

    It seems to work fine if A1 is populated with "Name", but just states False when A1 is changed to "Code".
    How can I get it to Concatenate if either one of Name or Code is in A1?


    Thanks.
  • To post as a guest, your comment is unpublished.
    j.eastman · 3 years ago
    Hi, I'm curious if this method can be used to auto-fill a series of cells depending on their value by referencing an index list. For example, I've got a list of names numbered 1-10, and have a grid (Grid 1) that has various numbers from that 1-10 in them. I'd like to find a way for the spreadsheet to fill in Grid 2 with the name associated with the number in Grid 1. For example, if D3 (Grid 1) is "2" and the name associated with "2" is "Jerry" then D12 should autofill with "Jerry," but if D3 is changed to "9" then D12 should automatically change to "Goldfish"
    • To post as a guest, your comment is unpublished.
      j.eastman · 3 years ago
      nevermind, I figured it out, just nested a TON of =IF statements:
      =IF(D3=$A$2,$B$2,IF(D3=$A$3,$B$3,IF(D3=$A$4,$B$4,IF(D3=$A$5,$B$5,IF(D3=$A$6,$B$6,IF(D3=$A$7,$B$7,IF(D3=$A$8,$B$8,IF(D3=$A$9,$B$9,IF(D3=$A$10,$B$10,IF(D3=$A$11,$B$11))))))))))
  • To post as a guest, your comment is unpublished.
    denise · 3 years ago
    Hi - How do I replace content in a cell, if it has anything in it at all, with content from another cell? Both cells have text, not numbers.
    • To post as a guest, your comment is unpublished.
      crystal · 3 years ago
      Hi denise,
      Sorry I am not sure I got your question. Do you want to swap content of two cells?
      Would be nice if you can explain again or provide screenshot of what you are trying to do.
      Thanks for your comment.
  • To post as a guest, your comment is unpublished.
    Ruud · 3 years ago
    Hi. I'm trying to give a certain cell a value based on the text in another cell. E.g. if A3 shows the text "BCD" than A4 should display $10. How can I do this?
    • To post as a guest, your comment is unpublished.
      crystal · 3 years ago
      Good day,
      Please enter this formula =IF(ISNUMBER(SEARCH("BCD",A3)),"$10","") in cell A4.
      • To post as a guest, your comment is unpublished.
        Danny · 3 years ago
        Good Morning Crystal,


        I'm trying to use a formula in excel that will determine what another cell does based on which office destination I'm using. For example my offices have destinations of 7102, 7302, 7402, and 7502, while another has destinations of 7109, 7309, 7409, and 7509. I would like for excel to understand what to do to another cell based on what is in the office destination cell. Continued example, I want to use a formula to calculate 90 days out from an various effective dates, but the 90 day date is determined by the office destination. Thus, I need the cell to determine which effective date cell to use based on which office destination is in another cell. So let's say if A1 had 7102, 7302, 7402, or 7502, then cell C1 would default to use the effective date in cell B1 based on what office destination range is in A1. I'm hoping this is possible. Any help is appreciated and please let me know if you need more information.

        Thank you.
        • To post as a guest, your comment is unpublished.
          Jenni · 3 years ago
          Hi Danny - I was needing the same return as you. Did you happen to get any support with this? Any help would be great. Thanks!
        • To post as a guest, your comment is unpublished.
          crystal · 3 years ago
          Hi Danny,
          Sorry I can’t help with this. Welcome to post any question in our forum: https://www.extendoffice.com/forum.html to get more Excel support from out Excel professional or other Excel fans.
          Thanks for your comment.
  • To post as a guest, your comment is unpublished.
    Christina · 3 years ago
    Please help. If a cell has a word in it show a number from another cell (example If n8=approved I want it give me the information from k8)
    • To post as a guest, your comment is unpublished.
      crystal · 3 years ago
      Hi Christina,
      Please apply this formula =IF(ISNUMBER(SEARCH("approved",N8)),K8,"")
  • To post as a guest, your comment is unpublished.
    J.E · 3 years ago
    Hi,


    I'm trying to find something similar to this but I'm having trouble.


    I have a list of addresses in Sheet 1, the whole address is in one cell. So for example A2, A3, A4 all contain a different address. Then in B2, B3, B4 etc I want to display a area code, "3" or "8" for example based on the postcode in the cell in column A.


    I have a list of postcodes in Sheet 2 with the area code adjacent to them.


    Ive tried with a VLOOKUP and a CELL but I cant fathom it out... if anyone can help I would be grateful......
    • To post as a guest, your comment is unpublished.
      crystal · 3 years ago
      Good day,
      Would you provide a screenshot of your spreadsheet?
  • To post as a guest, your comment is unpublished.
    mahfuj21@gmail.com · 3 years ago
    "Licensee Name: Walker, Charlene
    308 E St South

    Talladega, AL 35160

    Phone: 256-362-4307"





    I want to move data in 3 different cell/row "name" "address" " phone". How can I do that?
    • To post as a guest, your comment is unpublished.
      DL · 3 years ago
      you may want to avoid pasting actual personal information. This looks like a breach of privacy.
    • To post as a guest, your comment is unpublished.
      crystal · 3 years ago
      Good Day,
      Do you mean moving data in 3 different specified cells or rows? I don't really get your point. Would be nice if you could provide screenshot of what you are trying to do. Thank you.
  • To post as a guest, your comment is unpublished.
    goutam · 3 years ago
    think, a1= name, b1=number, c1=days. i want in another sheet a1= name, b1=number, c1= ?(i want days value). can i understood you.
    • To post as a guest, your comment is unpublished.
      crystal · 3 years ago
      Sorry I didn't get your question.
  • To post as a guest, your comment is unpublished.
    J · 3 years ago
    Anyone have any ideas on this; I want to have a formula search for a combination of letters/numbers (part number) on another sheet. If found, pull a corresponding cell's number (dollar value)...thank you!
    • To post as a guest, your comment is unpublished.
      crystal · 3 years ago
      Good Day,
      This array formula can help you:=CELL("address",INDEX(Sheet2!$D$4:$D$13,MATCH(A6,Sheet2!$D$4:$D$13,1))) + Ctrl + Shift + Enter
      A6 is the cell contains the combination of letters/numbers you will search, and Sheet2!$D$4:$D$13 is the range you will search in.
  • To post as a guest, your comment is unpublished.
    Michelle · 3 years ago
    OMG....been trying to find a way to get to this answer for DAYS!!! THANK YOU!!!
  • To post as a guest, your comment is unpublished.
    Giancarlo G · 3 years ago
    Thanks for the great advice as always! I would like to know if there is a way to only fill the target cell if 3 "search" cells contain specific, but different values. For example, have the target cell (A5) return "Nancy Pelosi" ONLY if A1="United State AND A2="California" AND A3=Santa Clara County" AND A4="San Francisco". Basically I would like to return a value, in this case house representatives, when the user selects the country, state, county, and city of the representatives. Kind of a search method to find your local representative by searching country, state, county, and city.


    I hope this makes sense!
    • To post as a guest, your comment is unpublished.
      crystal · 3 years ago
      Good Day,
      Please try methods mentioned in this article:
      https://www.extendoffice.com/documents/excel/2440-excel-vlookup-multiple-criteria.html
      Or you can post your question in our forum: https://www.extendoffice.com/forum.html to get more Excel supports from our professional.
  • To post as a guest, your comment is unpublished.
    pamela · 3 years ago
    i need text in once cell to populate another cell. i.e. if cell c2:c25 is "asian" then cell a2:a25 = DBE if not leave blank? can anyone help me with this formula
    • To post as a guest, your comment is unpublished.
      crystal · 3 years ago
      Good Day,
      Sorry I didn't get your point. Would be nice if you could provide screenshot of what you are trying to do.
  • To post as a guest, your comment is unpublished.
    Kim · 4 years ago
    Need a 'How To'......If a certain cell contains a specific set of words...which includes parenthesis, ex. C&I(MVA)
    I would like the column to the right to add 12. Haven't been able to figure it out.
    • To post as a guest, your comment is unpublished.
      Kim · 4 years ago
      Tried this and it keeps coming up 'false'
      =IF(E1="C & I","C & I (MVA)",G1+12=H1)
    • To post as a guest, your comment is unpublished.
      Kim · 4 years ago
      881329297 89-267 SINE, TODD A 1989 C & I (MVA) FINE 1989 2001
      A B C D E F G H

      I would like column H to add 12 from column G, only if column E contains C & I (MVA). The parenthesis pose a problem as does the ampersand.
      • To post as a guest, your comment is unpublished.
        crystal · 4 years ago
        Dear Kim,
        This formula can help you: =IF(E1:E12="C & I (MVA)", G1+12, " ")
  • To post as a guest, your comment is unpublished.
    Kim · 4 years ago
    Don't know where my post went.....
    trying to create a formula when the column has the words: C & I (MVA), I want the cell to the right to add 12.
    Can't seem to figure it correctly.
  • To post as a guest, your comment is unpublished.
    Kim · 4 years ago
    Need a 'How To'......If a certain cell contains a specific set of words...which includes parenthesis, ex. C&I(MVA)
    I would like the column to the right to add 12. Haven't been able to figure it out.
  • To post as a guest, your comment is unpublished.
    Luke · 4 years ago
    Hi, I want a cell to equal the sum amount of another cell if the first cell equals a certain text. So, if A1 equals “yes” then A3 equals A2. A2 has a previously calculated sum in it of say £100
    • To post as a guest, your comment is unpublished.
      crystal · 4 years ago
      Dear Luke,
      Please apply this formula =IF(A1="yes",A2,"") in A3, and finally change the cell format of A3 to the proper currency format as you need.
  • To post as a guest, your comment is unpublished.
    sreddy4u1999@gmail.com · 4 years ago
    hai, anybody thr to help me in excel?
  • To post as a guest, your comment is unpublished.
    Shyam · 4 years ago
    hai anybody there to help
  • To post as a guest, your comment is unpublished.
    Dave · 4 years ago
    Please help. If a cell has a word in it show a number from another cell
    • To post as a guest, your comment is unpublished.
      crystal · 4 years ago
      Dear Dave,

      Would you please provide a screenshot of your spreadsheet showing what you are exactly trying to do?
  • To post as a guest, your comment is unpublished.
    Kris · 4 years ago
    I am trying to create a spreadsheet for automatic password creation. I only want a cell to be populated if one of the previous cells has a value in it.the formula i want to use is

    =CHAR(RANDBETWEEN(65;90))&CHAR(RANDBETWEEN(97;122))&CHAR(RANDBETWEEN(97;122))&CHAR(RANDBETWEEN(65;90))&RANDBETWEEN(1000;9999)&CHAR(RANDBETWEEN(42;43))


    so if one of the previous fields has a value in it (doesnt matter which one) then populate another cell with the above formula

    A B C D E F
    1 First Name Last Name Email Address Phone Number Username Password

    2 Joe Blow jb@jb.com 123456 blowjo fh7#rfd


    so say if A2 is filled then the formula in F2 is returned, if there is no value in A2 the field is left blank
    • To post as a guest, your comment is unpublished.
      v · 4 years ago
      Sorry, hope I understood your query..


      =IF(OR(A2<>"",B2<>"",C2<>"",D2<>"",E2<>"",F2<>""),RANDBETWEEN(1,10000000000),"")
  • To post as a guest, your comment is unpublished.
    Brandon · 4 years ago
    Hi,

    This is great, however is it possible to do this with multiple different conditions..for example: if the cell contains 15105 then it will produce 10 and if the cell contains pdh152 then it will produce 11 and so on?

    Regards,

    Brandon.
    • To post as a guest, your comment is unpublished.
      Vvv · 4 years ago
      Not sure what pdh152 means, but hope this helps. The first randbetween will be producing 10 digits, while the second will produce 11.


      =IF(OR(A1:A5)="15105",RANDBETWEEN(1,1000000000),RANDBETWEEN(1,10000000000))
    • To post as a guest, your comment is unpublished.
      Rob · 4 years ago
      If you are still having trouble then try this example: =IF(ISNUMBER(SEARCH("Yes",A1)),"approve",IF(ISNUMBER(SEARCH("NO",A1)),"unapproved","")
      • To post as a guest, your comment is unpublished.
        Aakash · 4 years ago
        I just want the same thing. But your example is bit complicated. It is not easy to type this much say if I wanted to do the same with ten numbers.plz provide code for that.
        • To post as a guest, your comment is unpublished.
          Rob · 4 years ago
          I did this for 4 values, i just copy and pasted from 'IF' and changed what I wanted the cell to read.
    • To post as a guest, your comment is unpublished.
      Gary · 4 years ago
      I'm wondering the same question, can't get it to work.
      =IF(ISNUMBER(SEARCH("A,C",B:B)),"Alameda,Chicago","") something like this
      • To post as a guest, your comment is unpublished.
        John · 4 years ago
        Great article, does exactly what I wanted... almost! Same question as above, how to get this function to work with multiple conditions, e.g. If A1=yes, then B1=approve OR IF A1=no, then B1=deny
        • To post as a guest, your comment is unpublished.
          Vvv · 4 years ago
          @Gary,
          What are you trying to accomplish?


          @John,
          =IF(A1="YES","APPROVED",IF(A1="NO","DENY",""))
        • To post as a guest, your comment is unpublished.
          Michael · 4 years ago
          Has no one found a solution for this? It would be very helpful.