Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Formula help
Hi all
How can I express this as a formula: In J3: If any cell in the range C5:H5 contains "a", then J3 contains "a" Cells C5:H5 contain only "a", or are blank. Many thanks George |
#2
|
|||
|
|||
George,
In cell J3: =IF(COUNTIF(C5:H5,"a")0,"a","") HTH, Bernie MS Excel MVP "George Gee" wrote in message ... Hi all How can I express this as a formula: In J3: If any cell in the range C5:H5 contains "a", then J3 contains "a" Cells C5:H5 contain only "a", or are blank. Many thanks George |
#3
|
|||
|
|||
Bernie
That worked for me! Many thanks George *Bernie Deitrick* has posted this message: George, In cell J3: =IF(COUNTIF(C5:H5,"a")0,"a","") HTH, Bernie MS Excel MVP "George Gee" wrote in message ... Hi all How can I express this as a formula: In J3: If any cell in the range C5:H5 contains "a", then J3 contains "a" Cells C5:H5 contain only "a", or are blank. Many thanks George |
#4
|
|||
|
|||
A few strokes shorter.............
=LEFT(C5&D5&E5&F5&G5&H5,1) Vaya con Dios, Chuck, CABGx3 "Bernie Deitrick" <deitbe @ consumer dot org wrote in message ... George, In cell J3: =IF(COUNTIF(C5:H5,"a")0,"a","") HTH, Bernie MS Excel MVP "George Gee" wrote in message ... Hi all How can I express this as a formula: In J3: If any cell in the range C5:H5 contains "a", then J3 contains "a" Cells C5:H5 contain only "a", or are blank. Many thanks George |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Problem with VBA returning the contents of a long formula. | Excel Discussion (Misc queries) | |||
Match / Vlookup within an Array formula | Excel Discussion (Misc queries) | |||
Relative Indirect Formula Referencing? | Excel Worksheet Functions | |||
Help with macro formula and variable | Excel Worksheet Functions | |||
Cell doesn't show formula result - it shows formula (CTRL + ' doe. | Excel Worksheet Functions |