Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 184
Default SumIf and vlookup formula help

I have 5 categories that I need to sum but it is on another tab. I can't
remember how to use the Sumif and vlookup formula together.

Product A = 100
Product A = 100
Product A = 300

a vlookup will only give me the first hit but I need all three totals for
product A so Product A = $500 instead of the first one it finds Product A =
$100


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default SumIf and vlookup formula help

Try


=SUMPRODUCT(SUMIF(INDIRECT("'"& {"sheet1","sheet2","Sheet3"}
&"'!A:A"),"Product1",INDIRECT("'"& {"sheet1","sheet2","Sheet3"} &"'!B:B")))

--
Jacob (MVP - Excel)


"Nikki" wrote:

I have 5 categories that I need to sum but it is on another tab. I can't
remember how to use the Sumif and vlookup formula together.

Product A = 100
Product A = 100
Product A = 300

a vlookup will only give me the first hit but I need all three totals for
product A so Product A = $500 instead of the first one it finds Product A =
$100


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 193
Default SumIf and vlookup formula help

Hi Nikki,

You don't need VLOOKUP at all, just SUMIF.

=SUMIF(Sheet1!$A$1:$A$5,"Product A",Sheet1!$B$1:$B$5)



"Nikki" wrote in message
...
I have 5 categories that I need to sum but it is on another tab. I can't
remember how to use the Sumif and vlookup formula together.

Product A = 100
Product A = 100
Product A = 300

a vlookup will only give me the first hit but I need all three totals for
product A so Product A = $500 instead of the first one it finds Product A
=
$100



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 & SUMIF Jock Excel Worksheet Functions 7 April 2nd 23 07:53 PM
Vlookup + sumif , but how???? Jessejames Excel Worksheet Functions 4 April 21st 10 06:41 PM
SUMIF - VLOOKUP mcp201 Excel Discussion (Misc queries) 6 October 8th 09 09:00 PM
sumif or vlookup help Katie Excel Worksheet Functions 2 July 2nd 08 05:21 PM
Do I need a sumif or sum of a vlookup formula? PeterB Excel Worksheet Functions 0 June 1st 05 12:23 PM


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