Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Steve K
 
Posts: n/a
Default Another #N/A Result question...Sorry

I've read and tried every conceivable posibbilty I could think of, with no
succes.

The formula below results in #N/A if Q19 = nothing....how can I get a blank
cell result?

=IF(Q19=1,HLOOKUP(I34,G92:O97,3),IF(Q19=2,HLOOKUP( I34,G92:O97,4),IF(Q19=3,HLOOKUP(I34,G92:O97,5),IF( Q19=4,HLOOKUP(I34,G92:O97,6),""))))

Steve
  #2   Report Post  
Roger Govier
 
Posts: n/a
Default Another #N/A Result question...Sorry

Hi Steve

Maybe
=IF(Q19="","",HLOOKUP(I34,G92:O97,Q19+2)

Regards

Roger Govier


Steve K wrote:
I've read and tried every conceivable posibbilty I could think of, with no
succes.

The formula below results in #N/A if Q19 = nothing....how can I get a blank
cell result?

=IF(Q19=1,HLOOKUP(I34,G92:O97,3),IF(Q19=2,HLOOKUP( I34,G92:O97,4),IF(Q19=3,HLOOKUP(I34,G92:O97,5),IF( Q19=4,HLOOKUP(I34,G92:O97,6),""))))

Steve

  #3   Report Post  
Biff
 
Posts: n/a
Default Another #N/A Result question...Sorry

Hi!

If Q19 = nothing then your formula returns "" (blank) in my tests.

If Q19 = something AND I34 = nothing THEN the formula returns #N/A.

Maybe try this:

=IF(OR(Q19="",I34=""),"",CHOOSE(Q19,HLOOKUP(I34,G9 2:O97,3),HLOOKUP(I34,G92:O97,4),HLOOKUP(I34,G92:O9 7,5),HLOOKUP(I34,G92:O97,6)))

Biff

"Steve K" wrote in message
...
I've read and tried every conceivable posibbilty I could think of, with no
succes.

The formula below results in #N/A if Q19 = nothing....how can I get a
blank
cell result?

=IF(Q19=1,HLOOKUP(I34,G92:O97,3),IF(Q19=2,HLOOKUP( I34,G92:O97,4),IF(Q19=3,HLOOKUP(I34,G92:O97,5),IF( Q19=4,HLOOKUP(I34,G92:O97,6),""))))

Steve



  #4   Report Post  
Biff
 
Posts: n/a
Default Another #N/A Result question...Sorry

I like Roger's use of Q19+2

I'd use that formula but include the OR.

Biff

"Biff" wrote in message
...
Hi!

If Q19 = nothing then your formula returns "" (blank) in my tests.

If Q19 = something AND I34 = nothing THEN the formula returns #N/A.

Maybe try this:

=IF(OR(Q19="",I34=""),"",CHOOSE(Q19,HLOOKUP(I34,G9 2:O97,3),HLOOKUP(I34,G92:O97,4),HLOOKUP(I34,G92:O9 7,5),HLOOKUP(I34,G92:O97,6)))

Biff

"Steve K" wrote in message
...
I've read and tried every conceivable posibbilty I could think of, with
no
succes.

The formula below results in #N/A if Q19 = nothing....how can I get a
blank
cell result?

=IF(Q19=1,HLOOKUP(I34,G92:O97,3),IF(Q19=2,HLOOKUP( I34,G92:O97,4),IF(Q19=3,HLOOKUP(I34,G92:O97,5),IF( Q19=4,HLOOKUP(I34,G92:O97,6),""))))

Steve





  #5   Report Post  
Roger Govier
 
Posts: n/a
Default Another #N/A Result question...Sorry

Hi Biff

I agree, trapping the case of a null in I34 with the OR() function would
certainly make the formula more robust.

=IF(OR(Q19="",I34=""),"",HLOOKUP(I34,G92:O97,Q19+2 )

Regards

Roger Govier


Biff wrote:
I like Roger's use of Q19+2

I'd use that formula but include the OR.

Biff

"Biff" wrote in message
...

Hi!

If Q19 = nothing then your formula returns "" (blank) in my tests.

If Q19 = something AND I34 = nothing THEN the formula returns #N/A.

Maybe try this:

=IF(OR(Q19="",I34=""),"",CHOOSE(Q19,HLOOKUP(I34, G92:O97,3),HLOOKUP(I34,G92:O97,4),HLOOKUP(I34,G92: O97,5),HLOOKUP(I34,G92:O97,6)))

Biff

"Steve K" wrote in message
...

I've read and tried every conceivable posibbilty I could think of, with
no
succes.

The formula below results in #N/A if Q19 = nothing....how can I get a
blank
cell result?

=IF(Q19=1,HLOOKUP(I34,G92:O97,3),IF(Q19=2,HLOOK UP(I34,G92:O97,4),IF(Q19=3,HLOOKUP(I34,G92:O97,5), IF(Q19=4,HLOOKUP(I34,G92:O97,6),""))))

Steve





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
"1235" appears as "One thousand two hundred thirty five" H. Kan Excel Discussion (Misc queries) 11 December 8th 06 07:56 PM
I NEED HELP with the SPELLNUMBER Function vag Excel Worksheet Functions 0 June 21st 05 08:17 AM
EXCEL:NUMBER TO GREEK WORDS vag Excel Worksheet Functions 1 June 15th 05 05:57 PM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
Spellnumber Norman Jones Excel Worksheet Functions 6 December 13th 04 07:21 AM


All times are GMT +1. The time now is 08:53 PM.

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"