Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JR
 
Posts: n/a
Default Adding two columns with vlookup

Can someone give me an example of what the formula would look like is I
wanted to use a vlookup and add together two columns?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Adding two columns with vlookup

=INDEX(C1:C100,MATCH(1,(A1:A100=M1)*(B1:B100=N1),0 ))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"JR" wrote in message
...
Can someone give me an example of what the formula would look like is I
wanted to use a vlookup and add together two columns?

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Duke Carey
 
Posts: n/a
Default Adding two columns with vlookup

To add the 2d & 3d columns in the lookup table:

=VLOOKUP(lookup value, table,2,false)+VLOOKUP(lookup value, table,3,false)

Might be simpler to add a column to the lookup table that sums those other
two columns, then use a single vlookup to get the sum


"JR" wrote:

Can someone give me an example of what the formula would look like is I
wanted to use a vlookup and add together two columns?

Thanks

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 - effect of adding columns Paul Excel Discussion (Misc queries) 5 April 16th 08 07:39 AM
Adding alternate columns LACA Excel Discussion (Misc queries) 3 January 14th 06 04:45 AM
Adding Columns Paul Sheppard Excel Discussion (Misc queries) 3 July 28th 05 10:59 AM
vlookup for multiple columns MXC Excel Worksheet Functions 6 March 4th 05 09:59 PM
Disable Adding or Deleting Rows and Columns Playa Excel Discussion (Misc queries) 1 January 10th 05 10:23 PM


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