Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
andrewm
 
Posts: n/a
Default n/a in vlookup/index/match formula


Hi,

I have a formula which works except that if a cell(a53) is blank I get
a n/a value. How can I make the value be blank when the value in a53 is
blank as well.

the formula is -

=vlookup(index(f52:f61,(match(a53,e52:e61,0))),h52 :i61,2,false)

if a53 is blank the cell result is n/a

thanks


--
andrewm
------------------------------------------------------------------------
andrewm's Profile: http://www.excelforum.com/member.php...o&userid=23130
View this thread: http://www.excelforum.com/showthread...hreadid=385168

  #2   Report Post  
Mangesh Yadav
 
Posts: n/a
Default

=if(A53="","",vlookup(index(f52:f61,(match(a53,e52 :e61,0))),h52:i61,2,false)
)

Mangesh



"andrewm" wrote in
message ...

Hi,

I have a formula which works except that if a cell(a53) is blank I get
a n/a value. How can I make the value be blank when the value in a53 is
blank as well.

the formula is -

=vlookup(index(f52:f61,(match(a53,e52:e61,0))),h52 :i61,2,false)

if a53 is blank the cell result is n/a

thanks


--
andrewm
------------------------------------------------------------------------
andrewm's Profile:

http://www.excelforum.com/member.php...o&userid=23130
View this thread: http://www.excelforum.com/showthread...hreadid=385168



  #3   Report Post  
andrewm
 
Posts: n/a
Default


Hi Mangesh

=if(A53="","",vlookup(index(f52:f61,(match(a53,e52 :e61,0))),h52
:i61,2,false)
)

this works, however

a53 is a date

when I put in the next cell (a53+1) as the next day it doesn't work

ie.
=if((A53+)="","",vlookup(index(f52:f61,(match((a53 +1),e52:e61,0))),
h52:i61,2,false)
)

any ideas.

andrewm


--
andrewm
------------------------------------------------------------------------
andrewm's Profile: http://www.excelforum.com/member.php...o&userid=23130
View this thread: http://www.excelforum.com/showthread...hreadid=385168

  #4   Report Post  
andrewm
 
Posts: n/a
Default


sorry mangesh,

the formula i used

=if((A53+1)="","",vlookup(index(f52:f61,(match((a5 3+1),e52:e61,0))),
h52 :i61,2,false)
)

thanks

andrewm


--
andrewm
------------------------------------------------------------------------
andrewm's Profile: http://www.excelforum.com/member.php...o&userid=23130
View this thread: http://www.excelforum.com/showthread...hreadid=385168

  #5   Report Post  
Mangesh Yadav
 
Posts: n/a
Default

Hi,

I did not get you. You need to check A54, or what is it. What does A53+1
mean. In that case it is no longer blank.

If A54 is what you want to check, then
=if((A54)="","",vlookup(index(f52:f61,(match((a53+ 1),e52:e61,0))),h52
:i61,2,false))


Mangesh




"andrewm" wrote in
message ...

sorry mangesh,

the formula i used

=if((A53+1)="","",vlookup(index(f52:f61,(match((a5 3+1),e52:e61,0))),
h52 :i61,2,false)
)

thanks

andrewm


--
andrewm
------------------------------------------------------------------------
andrewm's Profile:

http://www.excelforum.com/member.php...o&userid=23130
View this thread: http://www.excelforum.com/showthread...hreadid=385168





  #6   Report Post  
Mangesh Yadav
 
Posts: n/a
Default

Maybe, in the next cell you should put
=IF(A53="","",A53+1)

And then follow it up with your VLOOKUP

Mangesh


"andrewm" wrote in
message ...

Hi Mangesh

=if(A53="","",vlookup(index(f52:f61,(match(a53,e52 :e61,0))),h52
:i61,2,false)
)

this works, however

a53 is a date

when I put in the next cell (a53+1) as the next day it doesn't work

ie.
=if((A53+)="","",vlookup(index(f52:f61,(match((a53 +1),e52:e61,0))),
h52:i61,2,false)
)

any ideas.

andrewm


--
andrewm
------------------------------------------------------------------------
andrewm's Profile:

http://www.excelforum.com/member.php...o&userid=23130
View this thread: http://www.excelforum.com/showthread...hreadid=385168



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
referencing named formula using INDIRECT function [email protected] Excel Worksheet Functions 19 May 11th 05 09:48 AM
Simplify formula Luke Excel Worksheet Functions 37 May 6th 05 07:21 AM
put formula results into a different cell if it is empty PutFormula Excel Worksheet Functions 2 February 11th 05 03:31 AM
how do i write a formula and keep in in formula form, so it DOESN. norcalchick2207 Excel Discussion (Misc queries) 2 February 4th 05 08:38 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


All times are GMT +1. The time now is 08:39 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"