nested function

G

Guest

Hi,
Excel "helped" me construct this (it told me I should correct my function to
the following)

=IF(I2="",(F2&" "&G2&" "&H2),OR(IF(F2=""+AND(I2=""),(G2&" "&H2)),(F2&"
"&G2&" "&H2&", "&I2)))

But, then it just shows #VALUE! in the cell

I'm new to functions so I'm sure I've confused it (and myself).
Can anyone see something obvious that's wrong. Is it even possible to nest
in this way?
thanks!
 
P

Pete_UK

I think what you are trying to do is this:

=IF(I2="",F2&" "&G2&" "&H2,IF(AND(F2="",I2=""),G2&" "&H2,F2&" "&G2&"
"&H2&", "&I2))

Hope this helps.

Pete
 
G

Guest

Thanks VERY much, Pete. That is precisely what I was trying to do.

I appreciate the fast response.
 
P

Pete_UK

You're welcome. Thanks for feeding back - I've only just seen your
response (Google Groups is acting up again !!).

Pete
 

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