Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 114
Default Returning an empty cell when no data present

I know there have been a couple of previous answers to this, but I cannot
seem to make them apply to my situation. I have 2 columns, the 1st pulling
info from another sheet and the 2nd one a calculation using the value of the
first. I am now returning errors in each of these cells because there is no
data present until I enter it. (The spreadsheet is a test-time sheet which
starts out each week empty. Here are my formulas:
=VLOOKUP(A4,Prod_and_Rte,2,FALSE)
=(E4*F4)/C4

Can someone help me return empty cells when no data is present, please?

Thanks,
Bryan

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,311
Default Returning an empty cell when no data present

Which cell do you want to test for no data. If A4 in your example, then:
=IF(A4="","",VLOOKUP(A4,Prod_and_Rte,2,FALSE))

If C4 in your example, then:
=IF(C4="","",=(E4*F4)/C4)

HTH,
Paul

"Bryan" wrote in message
...
I know there have been a couple of previous answers to this, but I cannot
seem to make them apply to my situation. I have 2 columns, the 1st
pulling
info from another sheet and the 2nd one a calculation using the value of
the
first. I am now returning errors in each of these cells because there is
no
data present until I enter it. (The spreadsheet is a test-time sheet
which
starts out each week empty. Here are my formulas:
=VLOOKUP(A4,Prod_and_Rte,2,FALSE)
=(E4*F4)/C4

Can someone help me return empty cells when no data is present, please?

Thanks,
Bryan



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Returning an empty cell when no data present

Try this:

=IF(ISNA(VLOOKUP(A4,Prod_and_Rte,2,FALSE)),"",VLOO KUP(A4,Prod_and_Rte,2,FALSE))

=(E4*F4)/C4


Which of those cells is the result of the lookup formula? You need to test
that cell to see if it's blank:

=IF(E4="","",E4*F4/C4)

Biff

"Bryan" wrote in message
...
I know there have been a couple of previous answers to this, but I cannot
seem to make them apply to my situation. I have 2 columns, the 1st
pulling
info from another sheet and the 2nd one a calculation using the value of
the
first. I am now returning errors in each of these cells because there is
no
data present until I enter it. (The spreadsheet is a test-time sheet
which
starts out each week empty. Here are my formulas:
=VLOOKUP(A4,Prod_and_Rte,2,FALSE)
=(E4*F4)/C4

Can someone help me return empty cells when no data is present, please?

Thanks,
Bryan



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 114
Default Returning an empty cell when no data present

Thanks for your help. I just had to remove the third "=" out of the second
formula and they worked perfectly. Thanks so much for the extremely quick
response!

Bryan

"PCLIVE" wrote:

Which cell do you want to test for no data. If A4 in your example, then:
=IF(A4="","",VLOOKUP(A4,Prod_and_Rte,2,FALSE))

If C4 in your example, then:
=IF(C4="","",=(E4*F4)/C4)

HTH,
Paul

"Bryan" wrote in message
...
I know there have been a couple of previous answers to this, but I cannot
seem to make them apply to my situation. I have 2 columns, the 1st
pulling
info from another sheet and the 2nd one a calculation using the value of
the
first. I am now returning errors in each of these cells because there is
no
data present until I enter it. (The spreadsheet is a test-time sheet
which
starts out each week empty. Here are my formulas:
=VLOOKUP(A4,Prod_and_Rte,2,FALSE)
=(E4*F4)/C4

Can someone help me return empty cells when no data is present, please?

Thanks,
Bryan




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,311
Default Returning an empty cell when no data present

No problem. I guess I got carried away with the cut and paste.
Glad you got it working.

Regards,
Paul

"Bryan" wrote in message
...
Thanks for your help. I just had to remove the third "=" out of the
second
formula and they worked perfectly. Thanks so much for the extremely quick
response!

Bryan

"PCLIVE" wrote:

Which cell do you want to test for no data. If A4 in your example, then:
=IF(A4="","",VLOOKUP(A4,Prod_and_Rte,2,FALSE))

If C4 in your example, then:
=IF(C4="","",=(E4*F4)/C4)

HTH,
Paul

"Bryan" wrote in message
...
I know there have been a couple of previous answers to this, but I
cannot
seem to make them apply to my situation. I have 2 columns, the 1st
pulling
info from another sheet and the 2nd one a calculation using the value
of
the
first. I am now returning errors in each of these cells because there
is
no
data present until I enter it. (The spreadsheet is a test-time sheet
which
starts out each week empty. Here are my formulas:
=VLOOKUP(A4,Prod_and_Rte,2,FALSE)
=(E4*F4)/C4

Can someone help me return empty cells when no data is present, please?

Thanks,
Bryan






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
Automatic Update of Dropdown List Box data Rajat Excel Worksheet Functions 4 March 8th 12 05:09 PM
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Cell data format falloutx Excel Discussion (Misc queries) 1 February 10th 06 01:46 PM
Printing data validation scenarios SJC Excel Worksheet Functions 14 July 24th 05 12:43 AM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM


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