formula to select value from 8 cells

M

Mel

I have a spreadsheet that has 8 seperate fields that do a
calculation. The result of the calculation will either be a value
(ie. NUONT01) or 'FALSE'. Only one of the 8 fields will have a
value. All other fields will show FALSE. I need to display that one
value in field M8. What I am trying to do is look at all 8 fields and
the one that is not equal to 'false', show that value.

The field to display in is M8. Fields with the data are: U8, AN8,
BA8, BN8, CA8, CN8, DA8, DN8.
I will be copying this formula down for the forty rows below. (M8 to
M47). I have tried "If(and" and "if(or" but cannot get past the first
3.

Mel
 
R

RagDyeR

Try this:

=MAX(U8,AN8,BA8,BN8,CA8,CN8,DA8,DN8)
--

HTH,

RD
=====================================================
Please keep all correspondence within the Group, so all may benefit!
=====================================================


I have a spreadsheet that has 8 seperate fields that do a
calculation. The result of the calculation will either be a value
(ie. NUONT01) or 'FALSE'. Only one of the 8 fields will have a
value. All other fields will show FALSE. I need to display that one
value in field M8. What I am trying to do is look at all 8 fields and
the one that is not equal to 'false', show that value.

The field to display in is M8. Fields with the data are: U8, AN8,
BA8, BN8, CA8, CN8, DA8, DN8.
I will be copying this formula down for the forty rows below. (M8 to
M47). I have tried "If(and" and "if(or" but cannot get past the first
3.

Mel
 
M

Mel

=IF(ISTEXT(U8),U8,"")&IF(ISTEXT(AN8),AN8,"")&IF(ISTEXT(BA8),BA8,"")...
--
David Biddulph








- Show quoted text -

thanks David. Works perfectly. Seems so simple now.
thx again.
Mel
 
D

David Biddulph

From Excel help for the MAX function:
"If the arguments contain no numbers, MAX returns 0 (zero)."
hence it doesn't pick up the text value from the cell that has it (NUONT01
in the OP's example).
 
R

RagDyer

I really thought that the OP was using only numbers, and the "Nuonto" was
just an added descriptor for the number he was actually using.

I never claimed to be overly bright.<bg>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top