Link to home
Start Free TrialLog in
Avatar of Rayne
RayneFlag for United States of America

asked on

ConditionL sumif or sumproduct

Hi,
I have two sheets. One sheet holds the raw data. The other one is the final display sheet. The display sheet looks up AMT from raw sheet. Now assuming there is an account list that has several folks enlisted with. Each seem to have a definite value for AMT. The only thing is > when we want to display the data in the display sheet, it would be preferred to add up batman and batwomen together as batman’s account and add up their AMT. Please see attached file. How do I do a sum product of some kind that sums up (Batman and batwomen) but looks up other individual amounts as expected?
Thank you
EEcel.xlsx
Avatar of Subodh Tiwari (Neeraj)
Subodh Tiwari (Neeraj)
Flag of India image

Maybe this...
In B2
=SUMPRODUCT((LEFT('Raw Data'!$A$2:$A$8,3)=LEFT(A2,3))*'Raw Data'!$B$2:$B$8)

Open in new window

Avatar of Rayne

ASKER

Hi,
I think we are getting close. But there are several accounts and the two account that I want t group will not always have the first three same letters. So for example see attached
So how to group Ronny and Moniie’s numbers  into Monnie  in the display sheet….how do we do it? So how to mention specially in the sumproduct that add Ronnie and Monnie but do usual for the rest?
EEcel_2.xlsx
ASKER CERTIFIED SOLUTION
Avatar of Subodh Tiwari (Neeraj)
Subodh Tiwari (Neeraj)
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Rayne

ASKER

thank you :)
You're welcome. Glad I could offer some help. :)