Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Help! Array formula for data that uses words instead of numbers
I have a Little League schedule with 129 rows that looks like this:
A B C D E 1 9/8 Braves Orioles vs Nationals 2 9/9 Pirates Red Sox vs Braves Orioles 3 9/10 Muckdogs vs Orioles Red Sox I want to enter a formula in Column E that tells Excel to check cells b1:d1 in each row and if any cell contains the name orioles, regardless of whether it's alone or as part of a match-up, then the text "baseball today" should appear in the corresponding row in Column E. I'd use this formula in column E for each row of my spreadsheet. I tried using the formula =if(ISNUMBER(SEARCH("*orioles*", b1:d1)), "baseball today","") and Ctrl+Shift+Ent but it doesn't work. If I change the formula so that instead of an array, it references the specific cell that contains the word orioles, for example instead of using b1:d1 just using d1, the formula works. Can anyone help me? |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Help! Array formula for data that uses words instead of numbers
Try this:
=IF(COUNTIF(B1:D1,"*orioles*"),"baseball today","") -- Biff Microsoft Excel MVP "cecij22" wrote in message ... I have a Little League schedule with 129 rows that looks like this: A B C D E 1 9/8 Braves Orioles vs Nationals 2 9/9 Pirates Red Sox vs Braves Orioles 3 9/10 Muckdogs vs Orioles Red Sox I want to enter a formula in Column E that tells Excel to check cells b1:d1 in each row and if any cell contains the name orioles, regardless of whether it's alone or as part of a match-up, then the text "baseball today" should appear in the corresponding row in Column E. I'd use this formula in column E for each row of my spreadsheet. I tried using the formula =if(ISNUMBER(SEARCH("*orioles*", b1:d1)), "baseball today","") and Ctrl+Shift+Ent but it doesn't work. If I change the formula so that instead of an array, it references the specific cell that contains the word orioles, for example instead of using b1:d1 just using d1, the formula works. Can anyone help me? |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Help! Array formula for data that uses words instead of numbers
One of the solutions is to concatenate the cells (b1&c1&d1) and search for
the string in that cell... "cecij22" wrote: I have a Little League schedule with 129 rows that looks like this: A B C D E 1 9/8 Braves Orioles vs Nationals 2 9/9 Pirates Red Sox vs Braves Orioles 3 9/10 Muckdogs vs Orioles Red Sox I want to enter a formula in Column E that tells Excel to check cells b1:d1 in each row and if any cell contains the name orioles, regardless of whether it's alone or as part of a match-up, then the text "baseball today" should appear in the corresponding row in Column E. I'd use this formula in column E for each row of my spreadsheet. I tried using the formula =if(ISNUMBER(SEARCH("*orioles*", b1:d1)), "baseball today","") and Ctrl+Shift+Ent but it doesn't work. If I change the formula so that instead of an array, it references the specific cell that contains the word orioles, for example instead of using b1:d1 just using d1, the formula works. Can anyone help me? |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Help! Array formula for data that uses words instead of number
I just started exploring the world of functions in excel...well things that
are more complicated than just summing a range of numbers! Looking at the formula, it looks way less complicated than what I was making it out to be lol. Thanks so much. It worked perfectly. "T. Valko" wrote: Try this: =IF(COUNTIF(B1:D1,"*orioles*"),"baseball today","") -- Biff Microsoft Excel MVP "cecij22" wrote in message ... I have a Little League schedule with 129 rows that looks like this: A B C D E 1 9/8 Braves Orioles vs Nationals 2 9/9 Pirates Red Sox vs Braves Orioles 3 9/10 Muckdogs vs Orioles Red Sox I want to enter a formula in Column E that tells Excel to check cells b1:d1 in each row and if any cell contains the name orioles, regardless of whether it's alone or as part of a match-up, then the text "baseball today" should appear in the corresponding row in Column E. I'd use this formula in column E for each row of my spreadsheet. I tried using the formula =if(ISNUMBER(SEARCH("*orioles*", b1:d1)), "baseball today","") and Ctrl+Shift+Ent but it doesn't work. If I change the formula so that instead of an array, it references the specific cell that contains the word orioles, for example instead of using b1:d1 just using d1, the formula works. Can anyone help me? |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Help! Array formula for data that uses words instead of number
You're welcome. Thanks for the feedback!
-- Biff Microsoft Excel MVP "cecij22" wrote in message ... I just started exploring the world of functions in excel...well things that are more complicated than just summing a range of numbers! Looking at the formula, it looks way less complicated than what I was making it out to be lol. Thanks so much. It worked perfectly. "T. Valko" wrote: Try this: =IF(COUNTIF(B1:D1,"*orioles*"),"baseball today","") -- Biff Microsoft Excel MVP "cecij22" wrote in message ... I have a Little League schedule with 129 rows that looks like this: A B C D E 1 9/8 Braves Orioles vs Nationals 2 9/9 Pirates Red Sox vs Braves Orioles 3 9/10 Muckdogs vs Orioles Red Sox I want to enter a formula in Column E that tells Excel to check cells b1:d1 in each row and if any cell contains the name orioles, regardless of whether it's alone or as part of a match-up, then the text "baseball today" should appear in the corresponding row in Column E. I'd use this formula in column E for each row of my spreadsheet. I tried using the formula =if(ISNUMBER(SEARCH("*orioles*", b1:d1)), "baseball today","") and Ctrl+Shift+Ent but it doesn't work. If I change the formula so that instead of an array, it references the specific cell that contains the word orioles, for example instead of using b1:d1 just using d1, the formula works. Can anyone help me? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Can I have words representing numbers in a formula? | Excel Discussion (Misc queries) | |||
IF formula in Excel / Replace numbers with 'words' | Excel Discussion (Misc queries) | |||
frequency of occurance of all words in 2-D array | Excel Discussion (Misc queries) | |||
Transpose words and numbers into array of different proportions | Excel Discussion (Misc queries) | |||
data analysis on fields with words not numbers | Excel Worksheet Functions |