Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I am looking for a way to populate a cell with a value if another cell has a
certain word in it. If "A1" has "newark pre-owned" in it I would like to search for "pre-owned" only and insert my value in "B1." Thanks in advance for your assistance. Fish |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Here's one way:
Enter this formula in B1: =IF(COUNTIF(A1,"*pre-owned*"),your_value_here,"") Replace your_value_here with your value. If your value is a number just enter that number: 10. If your value is a TEXT string enclose it in quotes: "Yes". The "" at the end will leave the cell blank if pre-owned is not found in cell a1. Biff "Fish" wrote in message ... I am looking for a way to populate a cell with a value if another cell has a certain word in it. If "A1" has "newark pre-owned" in it I would like to search for "pre-owned" only and insert my value in "B1." Thanks in advance for your assistance. Fish |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Awesome, thank you very much. You have saved me hours of sorting through over
50,000 terms and pasting as needed. Thanks again. Fish "T. Valko" wrote: Here's one way: Enter this formula in B1: =IF(COUNTIF(A1,"*pre-owned*"),your_value_here,"") Replace your_value_here with your value. If your value is a number just enter that number: 10. If your value is a TEXT string enclose it in quotes: "Yes". The "" at the end will leave the cell blank if pre-owned is not found in cell a1. Biff "Fish" wrote in message ... I am looking for a way to populate a cell with a value if another cell has a certain word in it. If "A1" has "newark pre-owned" in it I would like to search for "pre-owned" only and insert my value in "B1." Thanks in advance for your assistance. Fish |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You're welcome. Thanks for the feedback!
Biff "Fish" wrote in message ... Awesome, thank you very much. You have saved me hours of sorting through over 50,000 terms and pasting as needed. Thanks again. Fish "T. Valko" wrote: Here's one way: Enter this formula in B1: =IF(COUNTIF(A1,"*pre-owned*"),your_value_here,"") Replace your_value_here with your value. If your value is a number just enter that number: 10. If your value is a TEXT string enclose it in quotes: "Yes". The "" at the end will leave the cell blank if pre-owned is not found in cell a1. Biff "Fish" wrote in message ... I am looking for a way to populate a cell with a value if another cell has a certain word in it. If "A1" has "newark pre-owned" in it I would like to search for "pre-owned" only and insert my value in "B1." Thanks in advance for your assistance. Fish |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
if statement | Excel Discussion (Misc queries) | |||
appending and IF statement to an existing IF statement | Excel Worksheet Functions | |||
If and Or statement | Excel Discussion (Misc queries) | |||
If statement and Isblank statement | Excel Worksheet Functions | |||
Help please, IF statement/SUMIF statement | Excel Worksheet Functions |