Want to use Vlookup and maybe SUMIF

K0st4din

Well-known Member
Joined
Feb 8, 2012
Messages
503
Office Version
  1. 2016
  2. 2013
  3. 2011
  4. 2010
  5. 2007
Platform
  1. Windows
Hello everyone, I'm completely lost and missing something.
I want to use Vlookup and maybe SUMIF so that it can return the searched word and add up the total of it.
Thanks in advance!
example koeficient.xlsm
ABCDE
120241.20252.20253.2025
2onko
3urolo
4kardi3
5kardi44
6psihi
7kardi3
8kardi4
9kardi19
10psihi1
11kardi22
12kardi
13kardi
14psihi
15endo9
16endo
17endo1
18endo
19psihi6
20urolo14
21psihi
22psihi4
23kardi1
24kardi43
25kardi
26onko
27psihi4
28psihi
29psihi
30kardi3
31nevro1
32nevro5
33kardi18
34kardi1
35pulmo
36pulmo
37endo
38endo
39endo6
40endo
41endo
42endo1
43pulmo
44pulmo
45pulmo
46pulmo3
47pulmo
48pulmo
49kardi16
50psihi3
51nevro5
52nevro
53kardi9
54urolo1
55urolo20
56urolo
57urolo
58urolo6
59urolo56
60urolo4
61nevro
62urolo35
63urolo42
64pulmo
65pulmo
66onko
67pulmo
68onko
69onko
70onko
71onko
72onko
73onko
74onko
75onko
76onko
77onko
78
79408
80
81results must be
82diviz
83endo61
84
85kardi434
86
87nevro12
88
89onko
90
91psih45
92
93pulmo25
94
95revm
96
97urolo190
98
99TOTAL:
Sheet1
 
Perhaps you could start by telling us how you calculated your results?

It's not at all clear where VLOOKUP might fit in. (Just a guess, perhaps you want to specify word and month, and sum the appropriate column?)

And a SUMIF(S) returns very different results to what you've posted:

ABCD
79408.2
80
81results must be
82endo6116.9
83kardi434182.5
84nevro1210.7
85onko0.0
86psihi4517.2
87pulmo253.0
88urolo190178.0
89
90TOTAL:767408.2
Sheet1
Cell Formulas
RangeFormula
D82:D88D82=SUMIFS(B$2:B$77,A$2:A$77,A82)
C90:D90C90=SUM(C82:C88)
 
Upvote 0
Solution
Hello,

I guess some values are missing in your example because values do not add up to the ones you gave as example.

The sumif syntax is this one (for C82, to extend downwards)

Excel Formula:
=SUMIF($A$2:$A$77, $A82, $B$2:$B$77)
 
Upvote 0
Yes, of course the result is exactly what you showed.
My calculations are wrong.
That's exactly what I wanted to get as a result.
Thank you very much for the quick response.
Stay safe and healthy.
 
Upvote 0

Forum statistics

Threads
1,226,795
Messages
6,193,046
Members
453,772
Latest member
aastupin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top