Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4
Default Vlookup + sumif , but how????

this is my database

(ROW and column A52 IS description)

A B C D E
F G
description data b data c name tot tot a totb

purple 1 1 qq 12000 0 12000.0
yellow 1 1 ww 630 0 630.0
blue 1 1 ee 1341 0 1341.0
orange 1 1 rr 17548 0 17548.0
black 1 1 tt 228 0 228.0
purple 1 1 yy 131 0 131.0
black 1 1 uu 27090 0 27090.0
blue 1 1 gg 1854 0 1854.0
black 1 1 ff 3975 0 3975.0
black 1 1 dd 53620 0 53620.0
blue 1 1 ss 87226 0 87226.0
purple 1 1 qq 16000 0 16000.0


query 1 = to look the value ee which is located at column d

ee =VLOOKUP(A67,D53:E65,2,FALSE)

correct

query 2 = to look the value of qq which is located also at column D but they
have 2 quantities, so they have to add.
answer = ???

thanks for helping.

=)




--
xxxJessexxx


"Paul" wrote:


--
xxxJessexxx
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,081
Default Vlookup + sumif , but how????

how about

=SUMIF(D53:D65,a67,E53:E65)

which says, if any rows in D53 to D65 = A67, sum the corrsponding values in
E53:E65

"Jessejames" wrote:

this is my database

(ROW and column A52 IS description)

A B C D E
F G
description data b data c name tot tot a totb

purple 1 1 qq 12000 0 12000.0
yellow 1 1 ww 630 0 630.0
blue 1 1 ee 1341 0 1341.0
orange 1 1 rr 17548 0 17548.0
black 1 1 tt 228 0 228.0
purple 1 1 yy 131 0 131.0
black 1 1 uu 27090 0 27090.0
blue 1 1 gg 1854 0 1854.0
black 1 1 ff 3975 0 3975.0
black 1 1 dd 53620 0 53620.0
blue 1 1 ss 87226 0 87226.0
purple 1 1 qq 16000 0 16000.0


query 1 = to look the value ee which is located at column d

ee =VLOOKUP(A67,D53:E65,2,FALSE)

correct

query 2 = to look the value of qq which is located also at column D but they
have 2 quantities, so they have to add.
answer = ???

thanks for helping.

=)




--
xxxJessexxx


"Paul" wrote:


--
xxxJessexxx

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 376
Default Vlookup + sumif , but how????

Hi Jesse

Try
=SUMIF(DD,"qq",E:E)
or better still, place qq in a cell like A67 then use
=SUMIF(DD,"="&A67,E:E)
--
Regards
Roger Govier

Jessejames wrote:
this is my database

(ROW and column A52 IS description)

A B C D E
F G
description data b data c name tot tot a totb

purple 1 1 qq 12000 0 12000.0
yellow 1 1 ww 630 0 630.0
blue 1 1 ee 1341 0 1341.0
orange 1 1 rr 17548 0 17548.0
black 1 1 tt 228 0 228.0
purple 1 1 yy 131 0 131.0
black 1 1 uu 27090 0 27090.0
blue 1 1 gg 1854 0 1854.0
black 1 1 ff 3975 0 3975.0
black 1 1 dd 53620 0 53620.0
blue 1 1 ss 87226 0 87226.0
purple 1 1 qq 16000 0 16000.0


query 1 = to look the value ee which is located at column d

ee =VLOOKUP(A67,D53:E65,2,FALSE)

correct

query 2 = to look the value of qq which is located also at column D but they
have 2 quantities, so they have to add.
answer = ???

thanks for helping.

=)




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Vlookup + sumif , but how????

Roger,

do you really need the equals in your second example? Plus, you missed
a colon between the DD in both examples:

=SUMIF(D:D,A67,E:E)

Hope this helps.

Pete

On Apr 21, 5:25*pm, Roger Govier
wrote:
Hi Jesse

Try
=SUMIF(DD,"qq",E:E)
or better still, place qq in a cell like A67 then use
=SUMIF(DD,"="&A67,E:E)
--
Regards
Roger Govier



Jessejames wrote:
this is my database


(ROW and column A52 IS description)


* * * * *A * * * * * * * * B * * * * * C * * * * *D * * * * * *E * * * * * *
*F * * * * * * *G
*description * data b * *data c * * *name *tot * * * tot a * * * *totb *


purple * * * * * 1 * *1 * * * qq * 12000 * * *0 * *12000.0
yellow * * * * * 1 * * * * * *1 * * * ww * 630 * * * *0 * *630.0
blue * * * * * * 1 * *1 * * * ee * 1341 * * * 0 * *1341.0
orange * * * * *1 * * 1 * * * rr * 17548 * * * * * * * 0 * 17548.0
black * * * * * 1 * * 1 * * * tt * 228 * * * * 0 * 228.0
purple * * * * 1 * * *1 * * * yy * 131 * * * * 0 * 131.0
black * * * * 1 * * * 1 * * *uu * *27090 * * *0 * *27090.0
blue * * * * *1 * * * 1 * * *gg * *1854 * * * 0 * *1854.0
black * * * * 1 * * * 1 * * *ff * *3975 * * * 0 * *3975.0
black * * * * 1 * * * 1 * * *dd * *53620 * * *0 * *53620.0
blue * * * * *1 * * * 1 * * *ss * *87226 * * *0 * *87226.0
purple * * * *1 * * * 1 * * *qq * *16000 * * *0 * *16000.0


query 1 = to look the value ee which is located at column d


ee *=VLOOKUP(A67,D53:E65,2,FALSE)


correct


query 2 = to look the value of qq which is located also at column D but they
have 2 quantities, so they have to add.
answer = ???


thanks for helping.


=)- Hide quoted text -


- Show quoted text -


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 376
Default Vlookup + sumif , but how????

Quite right, Pete!
Typing too quickly, and my mind was elsewhere!!!
--
Regards
Roger Govier

Pete_UK wrote:
Roger,

do you really need the equals in your second example? Plus, you missed
a colon between the DD in both examples:

=SUMIF(D:D,A67,E:E)

Hope this helps.

Pete

On Apr 21, 5:25 pm, Roger Govier
wrote:
Hi Jesse

Try
=SUMIF(DD,"qq",E:E)
or better still, place qq in a cell like A67 then use
=SUMIF(DD,"="&A67,E:E)
--
Regards
Roger Govier



Jessejames wrote:
this is my database
(ROW and column A52 IS description)
A B C D E
F G
description data b data c name tot tot a totb
purple 1 1 qq 12000 0 12000.0
yellow 1 1 ww 630 0 630.0
blue 1 1 ee 1341 0 1341.0
orange 1 1 rr 17548 0 17548.0
black 1 1 tt 228 0 228.0
purple 1 1 yy 131 0 131.0
black 1 1 uu 27090 0 27090.0
blue 1 1 gg 1854 0 1854.0
black 1 1 ff 3975 0 3975.0
black 1 1 dd 53620 0 53620.0
blue 1 1 ss 87226 0 87226.0
purple 1 1 qq 16000 0 16000.0
query 1 = to look the value ee which is located at column d
ee =VLOOKUP(A67,D53:E65,2,FALSE)
correct
query 2 = to look the value of qq which is located also at column D but they
have 2 quantities, so they have to add.
answer = ???
thanks for helping.
=)- Hide quoted text -

- Show quoted text -


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
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
match mix with sumif and vlookup Manos Excel Worksheet Functions 3 February 28th 05 11:29 AM


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