Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 24
Default Adding multiple vlookups

I want to add 5 multiple vlookups together. Here's what I got:

=if(iserror(VLOOKUP(A2,ydt,2,false)),0,VLOOKUP(A2, ydt,2,false)+iserror(VLOOKUP(A2,wk1t,2,false)),0,V LOOKUP(A2,wk1t,2,false)+iserror(VLOOKUP(A2,wk2t,2, false)),0,VLOOKUP(A2,wk2t,2,false)+iserror(VLOOKUP (A2,wk3t,2,false)),0,VLOOKUP(A2,wk3t,2,false)+iser ror(Vlookup(a2,wk4t,2,false)),0,vlookup(a2,wk4t,2, false)

But I keep getting an error message and it looks at the 2nd ,0, in the
formula.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 111
Default Adding multiple vlookups

It appears you have mismatched parenthesis. With your formula in b1,
=LEN(B1)-LEN(SUBSTITUTE(B1,"(","")) returns 16 and
=LEN(B1)-LEN(SUBSTITUTE(B1,")","")) returns 15. It looks like that missing
right parenthesis probably goes at the very end. I can't tell if there are
other errors, but this should get you started.
--
Kevin Vaughn


"John K" wrote:

I want to add 5 multiple vlookups together. Here's what I got:

=if(iserror(VLOOKUP(A2,ydt,2,false)),0,VLOOKUP(A2, ydt,2,false)+iserror(VLOOKUP(A2,wk1t,2,false)),0,V LOOKUP(A2,wk1t,2,false)+iserror(VLOOKUP(A2,wk2t,2, false)),0,VLOOKUP(A2,wk2t,2,false)+iserror(VLOOKUP (A2,wk3t,2,false)),0,VLOOKUP(A2,wk3t,2,false)+iser ror(Vlookup(a2,wk4t,2,false)),0,vlookup(a2,wk4t,2, false)

But I keep getting an error message and it looks at the 2nd ,0, in the
formula.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 268
Default Adding multiple vlookups

What are you trying to achieve here?
are you trying to say
=IF(ISERROR(VLOOKUP(A2,ydt,2,FALSE)),0,VLOOKUP(A2, ydt,2,FALSE)+IF(ISERROR(VLOOKUP(A2,wk1t,2,FALSE)), 0,VLOOKUP(A2,wk1t,2,FALSE)+IF(ISERROR(VLOOKUP(A2,w k2t,2,FALSE)),0,VLOOKUP(A2,wk2t,2,FALSE)+IF(ISERRO R(VLOOKUP(A2,wk3t,2,FALSE)),0,VLOOKUP(A2,wk3t,2,FA LSE)+IF(ISERROR(VLOOKUP(A2,wk4t,2,FALSE)),0,VLOOKU P(A2,wk4t,2,FALSE))))))


"John K" wrote:

I want to add 5 multiple vlookups together. Here's what I got:

=if(iserror(VLOOKUP(A2,ydt,2,false)),0,VLOOKUP(A2, ydt,2,false)+iserror(VLOOKUP(A2,wk1t,2,false)),0,V LOOKUP(A2,wk1t,2,false)+iserror(VLOOKUP(A2,wk2t,2, false)),0,VLOOKUP(A2,wk2t,2,false)+iserror(VLOOKUP (A2,wk3t,2,false)),0,VLOOKUP(A2,wk3t,2,false)+iser ror(Vlookup(a2,wk4t,2,false)),0,vlookup(a2,wk4t,2, false)

But I keep getting an error message and it looks at the 2nd ,0, in the
formula.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 111
Default Adding multiple vlookups

Oops, this looks more like it will work then what I said.
--
Kevin Vaughn


"kassie" wrote:

What are you trying to achieve here?
are you trying to say
=IF(ISERROR(VLOOKUP(A2,ydt,2,FALSE)),0,VLOOKUP(A2, ydt,2,FALSE)+IF(ISERROR(VLOOKUP(A2,wk1t,2,FALSE)), 0,VLOOKUP(A2,wk1t,2,FALSE)+IF(ISERROR(VLOOKUP(A2,w k2t,2,FALSE)),0,VLOOKUP(A2,wk2t,2,FALSE)+IF(ISERRO R(VLOOKUP(A2,wk3t,2,FALSE)),0,VLOOKUP(A2,wk3t,2,FA LSE)+IF(ISERROR(VLOOKUP(A2,wk4t,2,FALSE)),0,VLOOKU P(A2,wk4t,2,FALSE))))))


"John K" wrote:

I want to add 5 multiple vlookups together. Here's what I got:

=if(iserror(VLOOKUP(A2,ydt,2,false)),0,VLOOKUP(A2, ydt,2,false)+iserror(VLOOKUP(A2,wk1t,2,false)),0,V LOOKUP(A2,wk1t,2,false)+iserror(VLOOKUP(A2,wk2t,2, false)),0,VLOOKUP(A2,wk2t,2,false)+iserror(VLOOKUP (A2,wk3t,2,false)),0,VLOOKUP(A2,wk3t,2,false)+iser ror(Vlookup(a2,wk4t,2,false)),0,vlookup(a2,wk4t,2, false)

But I keep getting an error message and it looks at the 2nd ,0, in the
formula.

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
adding off of multiple sheets bustanutti21 Excel Discussion (Misc queries) 1 December 23rd 05 07:41 PM
Sum a row of multiple vlookups jtgostars Excel Worksheet Functions 1 December 10th 05 06:37 PM
Adding Data Using Multiple Worksheets to Total into a Grand Total Lillie Excel Worksheet Functions 1 April 19th 05 08:34 PM
Need Function for adding rows on multiple sheets... struggling rookie ;) Thanks. Steve Excel Worksheet Functions 6 November 24th 04 12:10 AM
Vlookups and multiple returns (again!) Domenic Excel Worksheet Functions 0 November 4th 04 02:49 PM


All times are GMT +1. The time now is 11:54 AM.

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"