Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 52
Default Help with N/A in formulas

Afternoon everyone

I have 2 formulas that I need a little bit of help on. Both are working fine
but I want the cell to be blank if the result is N/A. Just not sure how I add
it in,

1st Formula
=VLOOKUP(A2,'NEW Sales booked Jan-Mar'!$1:$65536,1,FALSE)

2nd Formula
=NETWORKDAYS(H2,U2)

But I need the 2nd formula seems a little trickier

H2 will always have a date in it. But U2 wont if the VLOOKUP returns a BLANK
result
So I need the 2nd formula to read if U2 doesn't have a date in it put blank,
otherwise run the formula.

Thanks in advance for your help


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 174
Default Help with N/A in formulas

Hi Mark,

In Excel 2003 use

= IF(ISNA(VLOOKUP(A2,'NEW Sales booked
Jan-Mar'!$1:$65536,1,FALSE)),"",VLOOKUP(A2,'NEW Sales booked
Jan-Mar'!$1:$65536,1,FALSE))

In Excel 2007

= IFERROR(VLOOKUP(A2,'NEW Sales booked Jan-Mar'!$1:$65536,1,FALSE),"")

Similar for the 2nd formula.

Hope this helps.

With kind regards,

JP


"Mark D" wrote in message
...
Afternoon everyone

I have 2 formulas that I need a little bit of help on. Both are working
fine
but I want the cell to be blank if the result is N/A. Just not sure how I
add
it in,

1st Formula
=VLOOKUP(A2,'NEW Sales booked Jan-Mar'!$1:$65536,1,FALSE)

2nd Formula
=NETWORKDAYS(H2,U2)

But I need the 2nd formula seems a little trickier

H2 will always have a date in it. But U2 wont if the VLOOKUP returns a
BLANK
result
So I need the 2nd formula to read if U2 doesn't have a date in it put
blank,
otherwise run the formula.

Thanks in advance for your help




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 52
Default Help with N/A in formulas

Excellent, thank you

"JP Ronse" wrote:

Hi Mark,

In Excel 2003 use

= IF(ISNA(VLOOKUP(A2,'NEW Sales booked
Jan-Mar'!$1:$65536,1,FALSE)),"",VLOOKUP(A2,'NEW Sales booked
Jan-Mar'!$1:$65536,1,FALSE))

In Excel 2007

= IFERROR(VLOOKUP(A2,'NEW Sales booked Jan-Mar'!$1:$65536,1,FALSE),"")

Similar for the 2nd formula.

Hope this helps.

With kind regards,

JP


"Mark D" wrote in message
...
Afternoon everyone

I have 2 formulas that I need a little bit of help on. Both are working
fine
but I want the cell to be blank if the result is N/A. Just not sure how I
add
it in,

1st Formula
=VLOOKUP(A2,'NEW Sales booked Jan-Mar'!$1:$65536,1,FALSE)

2nd Formula
=NETWORKDAYS(H2,U2)

But I need the 2nd formula seems a little trickier

H2 will always have a date in it. But U2 wont if the VLOOKUP returns a
BLANK
result
So I need the 2nd formula to read if U2 doesn't have a date in it put
blank,
otherwise run the formula.

Thanks in advance for your help




.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 174
Default Help with N/A in formulas

You are welcome, thanks for the feedback.


"Mark D" wrote in message
...
Excellent, thank you

"JP Ronse" wrote:

Hi Mark,

In Excel 2003 use

= IF(ISNA(VLOOKUP(A2,'NEW Sales booked
Jan-Mar'!$1:$65536,1,FALSE)),"",VLOOKUP(A2,'NEW Sales booked
Jan-Mar'!$1:$65536,1,FALSE))

In Excel 2007

= IFERROR(VLOOKUP(A2,'NEW Sales booked Jan-Mar'!$1:$65536,1,FALSE),"")

Similar for the 2nd formula.

Hope this helps.

With kind regards,

JP


"Mark D" wrote in message
...
Afternoon everyone

I have 2 formulas that I need a little bit of help on. Both are working
fine
but I want the cell to be blank if the result is N/A. Just not sure how
I
add
it in,

1st Formula
=VLOOKUP(A2,'NEW Sales booked Jan-Mar'!$1:$65536,1,FALSE)

2nd Formula
=NETWORKDAYS(H2,U2)

But I need the 2nd formula seems a little trickier

H2 will always have a date in it. But U2 wont if the VLOOKUP returns a
BLANK
result
So I need the 2nd formula to read if U2 doesn't have a date in it put
blank,
otherwise run the formula.

Thanks in advance for your help




.



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
Convert Array Formulas to Regular Formulas Domenick Excel Worksheet Functions 6 August 17th 15 09:16 PM
E2007 formulas display as formulas, not results Pierre Excel Worksheet Functions 3 January 14th 10 04:59 PM
Counting # of Formulas in a column with formulas and entered data Brand Excel Worksheet Functions 1 October 10th 09 01:01 PM
CELLS NOT CALC FORMULAS - VALUES STAY SME FORMULAS CORRECT?? HELP Sherberg Excel Worksheet Functions 4 September 11th 07 01:34 AM
Formulas not evaluated, Formulas treated as strings Bob Sullentrup Excel Discussion (Misc queries) 0 November 27th 06 08:01 PM


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