#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ben Ben is offline
external usenet poster
 
Posts: 509
Default vlookup 3 sheets

Hi,

I have 3 worksheets and want to combine a vlookup to find the sum of the
unique criteria. I can get it to work with 2 spreadsheets but not 3.

The formula i am using is: =IF(ISERROR(VLOOKUP($A99,'sheet1
v4'!$A$3:$AR$103,COLUMN(AR99),FALSE)),VLOOKUP($A99 ,'Sheet2
v4'!$A$3:$AR$98,COLUMN(AR99),FALSE),VLOOKUP($A99,' Sheet1
v4'!$A$3:$AR$103,COLUMN(AR99),FALSE))

Example:

Sheet 1
Apple 2
Banana 5
Orange 11

Sheet 2
Mango 4
Banana 5
Pear 7

Sheet 3
Apple 2
Grape 1

Summary Sheet
Apple 4
Banana 10
Orange 11
Pear 7
Grape 1

I must be missing something simple but can't figure it out, any help would
be appreciated
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default vlookup 3 sheets

Try it like this....

=SUMIF(Sheet1!A$3:A$103,A99,Sheet1!AR$3:AR$103)+SU MIF(Sheet2!A$3:A$103,A99,Sheet2!AR$3:AR$103)+SUMIF (Sheet3!A$3:A$103,A99,Sheet3!AR$3:AR$103)

Use the appropriate sheet names.

--
Biff
Microsoft Excel MVP


"Ben" wrote in message
...
Hi,

I have 3 worksheets and want to combine a vlookup to find the sum of the
unique criteria. I can get it to work with 2 spreadsheets but not 3.

The formula i am using is: =IF(ISERROR(VLOOKUP($A99,'sheet1
v4'!$A$3:$AR$103,COLUMN(AR99),FALSE)),VLOOKUP($A99 ,'Sheet2
v4'!$A$3:$AR$98,COLUMN(AR99),FALSE),VLOOKUP($A99,' Sheet1
v4'!$A$3:$AR$103,COLUMN(AR99),FALSE))

Example:

Sheet 1
Apple 2
Banana 5
Orange 11

Sheet 2
Mango 4
Banana 5
Pear 7

Sheet 3
Apple 2
Grape 1

Summary Sheet
Apple 4
Banana 10
Orange 11
Pear 7
Grape 1

I must be missing something simple but can't figure it out, any help would
be appreciated



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 across several sheets Elton Law[_2_] Excel Worksheet Functions 3 April 28th 09 05:58 PM
VLOOKUP Between Sheets MB Excel Worksheet Functions 3 October 20th 06 05:03 PM
vlookup in several sheets kris Excel Worksheet Functions 2 February 3rd 06 12:56 PM
vlookup over 2 sheets? James Excel Worksheet Functions 12 September 14th 05 07:03 PM
Vlookup from 2 different sheets WorkerBee Excel Worksheet Functions 20 February 21st 05 08:57 PM


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