SUMIF's with TEXT

lynchbro

New Member
Joined
May 8, 2013
Messages
19
I am trying to create a formula to look up off of a master sheet to return the sum of account balances by investor numbers for a particular group denoted in the master sheet.

I currently have 3 tabs, TICO, RCH & PCM. Each of these tabs have investor account numbers with their allocations.

Then the master sheet has all of the account numbers broken out by the 3 groups.

On the individual group tabs I would like to pull the ending balance data from the master sheet. Each group tab in Cell A1 has the name of the group with matches back to what is on the master sheet.

i thought i would have to do:

=IF(A1=MasterSheet!A:A,SUMIF(MasterSheet!B:B,TICO!B9,MasterSheet!C:C))

Where on the master sheet A:A represents the group name, B:B represents the investor account numbers & C:C represents the ending balances.

And the TICO B9 is the investor account number for that group.

Any help!?
:)
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Welcome to the board..

Try

=SUMIFS(MasterSheet!B:B,TICO!B9,MasterSheet!C:C,MasterSheet!A:A,TICO!A1)
 
Upvote 0
My Bad...

=SUMIFS(MasterSheet!C:C,MasterSheet!B:B,TICO!B9,MasterSheet!A:A,TICO!A1)
 
Upvote 0
Hi Jono,

Thanks for your help prior, but now what I need to perform just got alot harder. :(

I still need all the criteria, but now each investment will have a lot number assigned to it & each investor could have multiple lots.

Is there a way to build on the below?

Master sheet References
A:A represents the group name
B:B represents the investor account numbers
C:C represents the ending balances
D:D represents the lot numbers

Thanks so much!!
 
Upvote 0
Try
=SUMIFS(MasterSheet!C:C,MasterSheet!B:B,TICO!B9,MasterSheet!A:A,TICO!A1,MasterSheet!D:D,TICO!C18)

C18 = The Lot # of interest.
 
Upvote 0
Well, based on your last post (and that it was nearly a month after the suggested solution), it seemed that the previous suggestion did indeed work as you wanted.
But now you only wanted to add 1 more criteria for a Lot #.

So yes, it's still doing what it was doing before, just with 1 more criteria (lot #).

So do you actually want something entirely diffent then?
Are you now just wanting a COUNT of how many records meet the criteria?

If that's the case, then it would be

=COUNTIFS(MasterSheet!B:B,TICO!B9,MasterSheet!A:A,TICO!A1,MasterSheet!D:D,TICO!C18)

Again, still using the same criteria (+ the new criteria of Lot #)
But it's now COUNTING instead of SUMMING.
 
Upvote 0
I'm sorry for the confusion. Before I did not realize that I need to reconcile by individual lots, so the SUM was the correct way to go. But now this is not the case. Here is a new example. I hope that you are able to help and I am clarifying all the issues I need.

I have a master spreadsheet with the following fields:

A:A represents the group name
B:B represents the investor account numbers
C:C represents the ending balances
D:D represents the lot numbers

Then I have individual tabs for each of the groups. Within each tab on the groups there are can be multiple investments broken out by LOT number.

On the individual group tabs I have the following fields:
A1 represents the group name
Column B represents the investor account number
Column C represents the lot number of the investment

What I am looking to do is pull the ending balances by investor account numbers and lots into each tab.

For example:

Investor A has investments in all 3 groups. Within group A he has 2 investments denoted by lot number.

Once I can pull the ending balance from the master sheet by investor account number & lot number, I then have another column to compare that balance to my manual calculations.
 
Upvote 0
Then I don't understand how post #6 wasn't helpful. Sounds like exactly what you need.

Sum from the master sheet column C, where:
MasterSheet Col A = A? from group tab (the groupname of interest)
MasterSheet Col B = B? from group tab (the account # of interest)
MasterSheet Col D = C? from group tab (the lot # of interest)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,988
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