Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,886
Default Need Vlookup to return a value of $0.00 in blank cells

Or probably faster execution with

=IF(COUNTIF($O$2:$P$39,A7),VLOOKUP(A7,O$2:$P$39,2, FALSE),0)

--
Regards

Roger Govier


"Roger Govier" wrote in message
news:...
Hi

Rather than the double Vlookup, you could test for the existence of
the Department first with Match

=IF(ISNUMBER(MATCH(A7,$O$2:$P$39,0)),VLOOKUP(A7,O$ 2:$P$39,2,FALSE),0)

--
Regards

Roger Govier


"fabiano" (donotspam) wrote in message
...
I using this formula

=IF(ISNA(VLOOKUP(A7,$O$2:$P$39,2,0)),"",VLOOKUP(A7 ,O$2:$P$39,2,FALSE))

I need the department that do not have a dollar value to equal to
$0.00 in
my list on matched up department sales Or my %of Sales formula does
not work.


Department Sales Departement Sales % of

Sales
Baseball $186.95 Baseball $186.95 #VALUE!
Bikes $3,317.88 Basketball #VALUE!
Exersice $14.98 Bikes $3,317.88 #N/A
Footwear $217.37 Billards #VALUE!
General $35.99 Bowling #VALUE!
Golf $210.83 Darts #VALUE!
Hockey $906.92 Exersice $14.98 #N/A
Inlines $249.98 Figure Skates #VALUE!
Licenced $79.99 FootBall #VALUE!
Racquets $112.75 Footwear $217.37 #N/A
Rental $134.99 General $35.99 #N/A
Repairs $57.73 Gift Cert #VALUE!
Skateboards $201.97 Golf 210.83





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
VLOOKUP CONDITION TO RETURN BLANK CELL WHERE LOOKUP VALUE IS NOT IN TABLE ARRAY Scott Lolmaugh Excel Worksheet Functions 3 March 9th 06 11:05 PM
How do I return a blank for VLOOKUP instead of #N/A? ExcelBee Excel Worksheet Functions 15 September 3rd 05 07:04 AM
Counting blank and filled cells within a range. greg7468 Excel Discussion (Misc queries) 3 June 28th 05 10:41 PM
Have Vlookup return a Value of 0 instead of #N/A Mr Mike Excel Worksheet Functions 4 May 25th 05 04:51 PM
referencing cells that return blank results Suz Excel Worksheet Functions 4 February 21st 05 10:59 PM


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