Get data with certain condition

  • Thread starter Thread starter TQ
  • Start date Start date
T

TQ

Hi,I would like to get the data from same row or same coloum(which last
If all the coloum is blank then show with "-" , any solution ?

Thanks.
 
=LOOKUP(2,1/(A1:A14<>""),A1:A14)

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
Hi,

How about if the last coloum A14 is blank ? This fomula get the result with
"#N/A",I hope to get "-" instead of "#N/A"

Thanks.
 
In my test A8:A14 was blank, and I get No as required

--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
See also your earlier thread, where I've responded to you as below:
---------------------------
TQ said:
How about show "-" replace of "#NA" if get nothing from certain column ?

Trap the expression's return with an IF(ISNA(...),... construct
In A15:
=IF(ISNA(LOOKUP(2,1/(A1:A14<>""),A1:A14)),"-",
LOOKUP(2,1/(A1:A14<>""),A1:A14))

Spare me a moment to press the "Yes" button below, won't you?
I'm under the weather of late, need the "greens" to perk me up
 
Back
Top