#1   Report Post  
Posted to microsoft.public.excel.misc
Outapin
 
Posts: n/a
Default Vlookup - help


Hi,

I am using a Vlookup formula (with concatenated text) but when my
vlookup cannot find the particular word to look for, it gives me an
error message. How can I have my formula put a "0" instead of "N/A" if
it doesn't find what it is looking for?

this is my formula:

=CONCATENATE("*Of these,
",ROUND(VLOOKUP($A$2,'L:\SPA_HRP\Dashboards\Report s\Branches\Working
Dashboards\[Terms.xls]Terms'!$A$6:$D$30,3,FALSE),0 ),"
(",ROUND((VLOOKUP($A$2,'L:\SPA_HRP\Dashboards\Repo rts\Branches\Working
Dashboards\[Terms.xls]Terms'!$A$6:$D$30,3,FALSE)/C12)*100,1),"%)","
have been employed for more than 2 years, compared with
",ROUND(VLOOKUP("total",'L:\SPA_HRP\Dashboards\Rep orts\Branches\Working
Dashboards\[Terms.xls]Terms'!$A$6:$D$30,3,FALSE),0),"
(",ROUND((VLOOKUP("total",'L:\SPA_HRP\Dashboards\R eports\Branches\Working
Dashboards\[Terms.xls]Terms'!$A$6:$D$30,3,FALSE)/E12)*100,1),"%)"," in
the Branch.")

So when it doesn't find the name of the organization, I get only N/A. I
need to be able to show that there is "0" employees and be able to keep
the rest of my text, which could show something like this:

*Of these, 0 have been employed for more than 2 years, comapred to 10
(20%) in the branch.

Thanks


--
Outapin
------------------------------------------------------------------------
Outapin's Profile: http://www.excelforum.com/member.php...o&userid=29278
View this thread: http://www.excelforum.com/showthread...hreadid=500238

  #2   Report Post  
Posted to microsoft.public.excel.misc
David Billigmeier
 
Posts: n/a
Default Vlookup - help

=IF(ISERROR(your_vlookup_formula),0,your_vlookup_f ormula)

--
Regards,
Dave


"Outapin" wrote:


Hi,

I am using a Vlookup formula (with concatenated text) but when my
vlookup cannot find the particular word to look for, it gives me an
error message. How can I have my formula put a "0" instead of "N/A" if
it doesn't find what it is looking for?

this is my formula:

=CONCATENATE("*Of these,
",ROUND(VLOOKUP($A$2,'L:\SPA_HRP\Dashboards\Report s\Branches\Working
Dashboards\[Terms.xls]Terms'!$A$6:$D$30,3,FALSE),0 ),"
(",ROUND((VLOOKUP($A$2,'L:\SPA_HRP\Dashboards\Repo rts\Branches\Working
Dashboards\[Terms.xls]Terms'!$A$6:$D$30,3,FALSE)/C12)*100,1),"%)","
have been employed for more than 2 years, compared with
",ROUND(VLOOKUP("total",'L:\SPA_HRP\Dashboards\Rep orts\Branches\Working
Dashboards\[Terms.xls]Terms'!$A$6:$D$30,3,FALSE),0),"
(",ROUND((VLOOKUP("total",'L:\SPA_HRP\Dashboards\R eports\Branches\Working
Dashboards\[Terms.xls]Terms'!$A$6:$D$30,3,FALSE)/E12)*100,1),"%)"," in
the Branch.")

So when it doesn't find the name of the organization, I get only N/A. I
need to be able to show that there is "0" employees and be able to keep
the rest of my text, which could show something like this:

*Of these, 0 have been employed for more than 2 years, comapred to 10
(20%) in the branch.

Thanks


--
Outapin
------------------------------------------------------------------------
Outapin's Profile: http://www.excelforum.com/member.php...o&userid=29278
View this thread: http://www.excelforum.com/showthread...hreadid=500238


  #3   Report Post  
Posted to microsoft.public.excel.misc
Outapin
 
Posts: n/a
Default Vlookup - help


Thanks , but where do I put this in my formula ? Before the ROUND ?
This is where I get all mixed up with Excel formulas.... it's where to
put it...!!
Thanks


--
Outapin
------------------------------------------------------------------------
Outapin's Profile: http://www.excelforum.com/member.php...o&userid=29278
View this thread: http://www.excelforum.com/showthread...hreadid=500238

  #4   Report Post  
Posted to microsoft.public.excel.misc
RagDyer
 
Posts: n/a
Default Vlookup - help

Try this:

=If(ISNA(Match($A$2,'L:\SPA_HRP\Dashboards\Reports \Branches\Working
Dashboards\[Terms.xls]Terms'!$A$6:$A$30,0)),0,CONCATENATE("*Of these,
",ROUND(VLOOKUP($A$2,'L:\SPA_HRP\Dashboards\Report s\Branches\Working
Dashboards\[Terms.xls]Terms'!$A$6:$D$30,3,FALSE),0 ),"
(",ROUND((VLOOKUP($A$2,'L:\SPA_HRP\Dashboards\Repo rts\Branches\Working
Dashboards\[Terms.xls]Terms'!$A$6:$D$30,3,FALSE)/C12)*100,1),"%)","
have been employed for more than 2 years, compared with
",ROUND(VLOOKUP("total",'L:\SPA_HRP\Dashboards\Rep orts\Branches\Working
Dashboards\[Terms.xls]Terms'!$A$6:$D$30,3,FALSE),0),"
(",ROUND((VLOOKUP("total",'L:\SPA_HRP\Dashboards\R eports\Branches\Working
Dashboards\[Terms.xls]Terms'!$A$6:$D$30,3,FALSE)/E12)*100,1),"%)"," in
the Branch."))

I copied this from your post, so watch out for word-wrap!
--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


"Outapin" wrote in
message ...

Thanks , but where do I put this in my formula ? Before the ROUND ?
This is where I get all mixed up with Excel formulas.... it's where to
put it...!!
Thanks


--
Outapin
------------------------------------------------------------------------
Outapin's Profile:

http://www.excelforum.com/member.php...o&userid=29278
View this thread: http://www.excelforum.com/showthread...hreadid=500238


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
Using single cell reference as table array argument in Vlookup CornNiblet Excel Worksheet Functions 3 September 22nd 05 09:15 AM
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
Have Vlookup return a Value of 0 instead of #N/A Mr Mike Excel Worksheet Functions 4 May 25th 05 04:51 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


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