Vlookup sumproduct?

Bonebeast

New Member
Joined
Jan 25, 2022
Messages
7
Office Version
  1. 2019
Platform
  1. Windows
Hello!

I have managed to use the sumproduct formula in order to count the text "telefon" and "1/2 telefon" within a certain date.
SUMPRODUCT(('v38-41'!$E$3:$FH$3>=Statistik!$A$3)*('v38-41'!$E$3:$FH$3<=Statistik!$B$3)*('v38-41'!$E7:$FH7="telefon"))+SUMPRODUCT(('v38-41'!$E$3:$FH$3>=Statistik!$A$3)*('v38-41'!$E$3:$FH$3<=Statistik!$B$3)*('v38-41'!$E7:$FH7="1/2 telefon")*0,5)

However, I want it the formula to find the name within the column and then proceed to calculate the "telefon" and "1/2 telefon". For instance to look up "John" or "D4" in the column D of the differet sheet.
Is that possible?
 

Attachments

  • Sheet 2.JPG
    Sheet 2.JPG
    45.1 KB · Views: 9
  • v38-41.JPG
    v38-41.JPG
    65 KB · Views: 8

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Hi & welcome to MrExcel.
How about like
Excel Formula:
SUMPRODUCT(('v38-41'!$E$3:$FH$3>=Statistik!$A$3)*('v38-41'!$E$3:$FH$3<=Statistik!$B$3)*('v38-41'!$D$5:$D$10=D6)*('v38-41'!$E$5:$FH$10="telefon"))
 
Upvote 0
Hi & welcome to MrExcel.
How about like
Excel Formula:
SUMPRODUCT(('v38-41'!$E$3:$FH$3>=Statistik!$A$3)*('v38-41'!$E$3:$FH$3<=Statistik!$B$3)*('v38-41'!$D$5:$D$10=D6)*('v38-41'!$E$5:$FH$10="telefon"))
It worked, thank you so much!

Is there a more simple way to add in "1/2 telefon" and make each cell count as 0,5 other than adding +SUMPRODUCT(('v38-41'!$E$3:$FH$3>=Statistik!$A$3)*('v38-41'!$E$3:$FH$3<=Statistik!$B$3)*('v38-41'!$E7:$FH7="1/2 telefon")*0,5) like I have done?
 
Upvote 0
Try
Excel Formula:
=SUMPRODUCT(('v38-41'!$E$3:$FH$3>=Statistik!$A$3)*('v38-41'!$E$3:$FH$3<=Statistik!$B$3)*('v38-41'!$D$5:$D$10=D6)*(('v38-41'!$E$5:$FH$10="telefon")+('v38-41'!$E$5:$FH$10="1/2 telefon")*.5))
 
Upvote 0
Solution
Try
Excel Formula:
=SUMPRODUCT(('v38-41'!$E$3:$FH$3>=Statistik!$A$3)*('v38-41'!$E$3:$FH$3<=Statistik!$B$3)*('v38-41'!$D$5:$D$10=D6)*(('v38-41'!$E$5:$FH$10="telefon")+('v38-41'!$E$5:$FH$10="1/2 telefon")*.5))
Thanks again Fluff!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,996
Members
452,373
Latest member
TimReeks

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