Sum If Function

fish22

New Member
Joined
Oct 4, 2011
Messages
5
Hey guys,
I am trying to set up a basic accounting spreadsheet and have hit a dead end. Have been trying for ages to try and get this working.
As part of the report needed by my client, there needs to be a sum off all purchases and expenses that are capital, and then non capital. As part of the monthly transaction input there is a cell for the account of the transaction.
I have set up a named range with all of the capital accounts, and all of the non-capital accounts. What I am trying to do is sum the transaction ammount if it is in the named range. The sum if function isnt working as, I have been told because the named range is strings and not integers. I am not the best at VBA so would love to do it avoiding it.
Thanks for any help guys.
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Welcome to the forum,

Can you copy part of the spreadsheet into your thread to give us an idea of what you are using and also make some sort example how it should look, if it is just totals based on values and capital against non-capital SUMIF should work.

But please show some data.
 
Upvote 0
Hey guys,
I am trying to set up a basic accounting spreadsheet and have hit a dead end. Have been trying for ages to try and get this working.
As part of the report needed by my client, there needs to be a sum off all purchases and expenses that are capital, and then non capital. As part of the monthly transaction input there is a cell for the account of the transaction.
I have set up a named range with all of the capital accounts, and all of the non-capital accounts. What I am trying to do is sum the transaction ammount if it is in the named range. The sum if function isnt working as, I have been told because the named range is strings and not integers. I am not the best at VBA so would love to do it avoiding it.
Thanks for any help guys.

Try to post a tiny, illustrative (fake) sample along with the desired results.
 
Upvote 0
Heres a sample of the report:
D6647400_8934071_658842

And the Input sheet
D6647400_8934071_658842
 
Last edited:
Upvote 0
Looking at your examples I still don't see what is capital and non-capital.

Do you have multiple sheets One per month that you are using like a ledger and how do you determine what is capital and non-capital?
 
Upvote 0
Oh sorry, yeah I've got a sheet for each month, which I input the data, then a sheet for the statement, and another sheet for the chart of accounts like this;
D6647400_8934071_658969

Thanks heaps.
 
Upvote 0

Forum statistics

Threads
1,224,590
Messages
6,179,754
Members
452,940
Latest member
rootytrip

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