Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
George Gee
 
Posts: n/a
Default 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   Report Post  
Bernie Deitrick
 
Posts: n/a
Default

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   Report Post  
George Gee
 
Posts: n/a
Default

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   Report Post  
CLR
 
Posts: n/a
Default

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with VBA returning the contents of a long formula. [email protected] Excel Discussion (Misc queries) 2 February 23rd 05 12:14 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
Relative Indirect Formula Referencing? Damian Excel Worksheet Functions 1 January 7th 05 04:16 AM
Help with macro formula and variable Huge project Excel Worksheet Functions 0 December 28th 04 01:27 AM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM


All times are GMT +1. The time now is 04:47 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"