Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
bigtim
 
Posts: n/a
Default Turning #N/A to a zero...??


Hello there. my name is Tim and i am creating a spreadsheet which
calculates the cost of various painting and decorating costs.

However i have encountered a problem when targetting a lookup. I get
'#N/A' in the cell.


the equation is:
=VLOOKUP($D26,emulsion_costs,2,FALSE)

this targets a v-lookup. how can i create a v-lookup which will turn
this '#N/A' to a zero when there is nothing selcted in D26?

Any help much appreciated.

Big Tim.


--
bigtim
------------------------------------------------------------------------
bigtim's Profile: http://www.excelforum.com/member.php...o&userid=23747
View this thread: http://www.excelforum.com/showthread...hreadid=374118

  #2   Report Post  
mangesh_yadav
 
Posts: n/a
Default


=IF(ISNA(VLOOKUP($D26,emulsion_costs,2,FALSE)),0,V LOOKUP($D26,emulsion_costs,2,FALSE))

Mangesh


--
mangesh_yadav
------------------------------------------------------------------------
mangesh_yadav's Profile: http://www.excelforum.com/member.php...o&userid=10470
View this thread: http://www.excelforum.com/showthread...hreadid=374118

  #3   Report Post  
bigtim
 
Posts: n/a
Default


Thank you that worked brilliant!

The only problem i have now is that i have a cell that divides an
*area* specified by the -cost of paint per litre-, which is then
divided by the _coverage__ which works out the cost of paint:

=*D23**-F28-/_F27_

The problem that i have is before a paint is selected it remains '0'
and i get a '#DIV/0' in this cell. Is there any way of getting round
this so that it makes a zero instead of this?


--
bigtim
------------------------------------------------------------------------
bigtim's Profile: http://www.excelforum.com/member.php...o&userid=23747
View this thread: http://www.excelforum.com/showthread...hreadid=374118

  #4   Report Post  
mangesh_yadav
 
Posts: n/a
Default


=IF(ISERR(D23*F28/F27),0,D23*F28/F27)

Mangesh


--
mangesh_yadav
------------------------------------------------------------------------
mangesh_yadav's Profile: http://www.excelforum.com/member.php...o&userid=10470
View this thread: http://www.excelforum.com/showthread...hreadid=374118

  #5   Report Post  
bigtim
 
Posts: n/a
Default


Thank you Mangesh.


--
bigtim
------------------------------------------------------------------------
bigtim's Profile: http://www.excelforum.com/member.php...o&userid=23747
View this thread: http://www.excelforum.com/showthread...hreadid=374118



  #6   Report Post  
KateM
 
Posts: n/a
Default

Just wanted to say Thank you. This really helped me out.
Kate
--
Center for Governmental Research
Research/Technology


"mangesh_yadav" wrote:


=IF(ISNA(VLOOKUP($D26,emulsion_costs,2,FALSE)),0,V LOOKUP($D26,emulsion_costs,2,FALSE))

Mangesh


--
mangesh_yadav
------------------------------------------------------------------------
mangesh_yadav's Profile: http://www.excelforum.com/member.php...o&userid=10470
View this thread: http://www.excelforum.com/showthread...hreadid=374118


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
Turning .xls form into web page EdLeeYoung Excel Discussion (Misc queries) 1 May 18th 05 03:56 AM
Turning a notepad document into an excel spreadsheet lbierer Setting up and Configuration of Excel 1 April 21st 05 01:40 PM
Disabling formulas and turning file into text only Christine Excel Discussion (Misc queries) 3 April 1st 05 05:46 AM
how do i stop excell from turning the last five digits in a 20 di. cingularws Excel Discussion (Misc queries) 1 March 29th 05 03:07 AM
turning numbers into other numbers Dino Thomas Excel Worksheet Functions 1 March 5th 05 06:51 PM


All times are GMT +1. The time now is 09:48 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"