Hi,
Need help in putting formula of sum with lookup condition.
An excel file attached with necessary details.
Pl. help.
Thanks,
Nagesh.
Hi,
Need help in putting formula of sum with lookup condition.
An excel file attached with necessary details.
Pl. help.
Thanks,
Nagesh.
Sorry. The answer will be 880 only. I indicated 960 in the comment wrongly.
See if this works for you:
=SUMPRODUCT(1*SUMIF(I3:I6,A3:A8,K3:K6))
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
NB: as a Moderator, I never accept friendship requests.
Forum Rules (updated August 2023): please read them here.
Why 880? Please explain the calculation. 960 looks correct to me:
4*150 = 600
2*180 = 360
TOTAL: 960
Try this:
=SUMPRODUCT(G3:G8,SUMIF(I3:I6,A3:A8,K3:K6))
Or try:
=SUMPRODUCT(VLOOKUP(N(IF({1},A3:A8)),I3:K6,3,0)*G3:G8)
Also : Add column "H" as Total Cost "H2"
In "H3"Formula:
Please Login or Register to view this content.
copy paste down
atul
If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.
Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".
Thank you 63falcondude. It is working fine now.
You're welcome. Happy to help.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks