Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Ted Ted is offline
external usenet poster
 
Posts: 48
Default #N/A and eliminating it.

I created a formula...=VLOOKUP(A10,Items!A2:C5,3,FALSE) to pull Price from
the Items sheet based on a row, in this case A10, (sorry about the
redundancy)! If I clear column A, I get #N/A. I have tried to nest this
formula in an If statement but cannot seem to get it to work. If A column is
blank I want the price to be blank also. Thanks in advance!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default #N/A and eliminating it.

=IF(A1="",0,VLOOKUP(A10,Items!A2:C5,3,FALSE))

"Ted" wrote:

I created a formula...=VLOOKUP(A10,Items!A2:C5,3,FALSE) to pull Price from
the Items sheet based on a row, in this case A10, (sorry about the
redundancy)! If I clear column A, I get #N/A. I have tried to nest this
formula in an If statement but cannot seem to get it to work. If A column is
blank I want the price to be blank also. Thanks in advance!

  #3   Report Post  
Posted to microsoft.public.excel.misc
bj bj is offline
external usenet poster
 
Posts: 1,397
Default #N/A and eliminating it.

....=if(isna(VLOOKUP(A10,Items!A2:C5,3,FALSE)),"", VLOOKUP(A10,Items!A2:C5,3,FALSE))

"Ted" wrote:

I created a formula...=VLOOKUP(A10,Items!A2:C5,3,FALSE) to pull Price from
the Items sheet based on a row, in this case A10, (sorry about the
redundancy)! If I clear column A, I get #N/A. I have tried to nest this
formula in an If statement but cannot seem to get it to work. If A column is
blank I want the price to be blank also. Thanks in advance!

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
eliminating records! via135 via OfficeKB.com Excel Worksheet Functions 2 November 12th 06 10:32 AM
eliminating the 0 in DIV/0 teacher1 Excel Discussion (Misc queries) 11 September 13th 06 09:28 PM
Eliminating #N/A Mike Excel Worksheet Functions 4 December 14th 05 07:34 PM
Eliminating digits SeanM Excel Worksheet Functions 3 July 5th 05 09:21 PM
Eliminating "Selects" Adam1 Chicago Excel Discussion (Misc queries) 2 March 2nd 05 02:37 AM


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