SUMIF Returning Zero Value

denpkelly

New Member
Joined
Dec 16, 2016
Messages
3
I am attempting to sum trial balance amounts from one worksheet to another "consolidating" trial balance worksheet. I formula I am using is quite simple.:

=SUMIF('IKO PROD'!C8:C300,"*19002",'IKO PROD'!I8:I300)

In the consolidating trial balance worksheet for each asset, liability, revenue, or expense account I am asking Excel to read the second column of each plant's trial balance containing their chart of accounts, located a few tabs down from the consolidated TB worksheet in the same book. Accounts are ten characters in length, the criteria is defined to wild card the first five digits of the account and sum the corresponding account balance five columns over. The account number column has been formatted to general and the TB account balance, which contains sum formulas, is accounting or numeric. There are blank lines in the TB worksheet separating groupings of accounts.

I have gone online for hours attempting to find a solution, including removing additional spaces in the account number column to clean the sum range.

I would deeply appreciate any help you could provide.


Regards,

Denis Kelly
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

gaz_chops

Well-known Member
Joined
Apr 29, 2003
Messages
6,485
Platform
  1. MacOS
Welcome to the forum.


Seems you are searching for Text against Numbers.

Try this entered as an array (Ctrl, Shift & Enter)


=SUM(IF(MID(C8:C300,6,99)="19002",(I8:I300)))
 
Upvote 0

denpkelly

New Member
Joined
Dec 16, 2016
Messages
3
Should I be converting formats so that both worksheets reflect numerics? What is "MID" and the 6 & 99 in the array? Do not understand what is being structured in the argument. I am sorry for the delay in responding, I have been ill.
Welcome to the forum.


Seems you are searching for Text against Numbers.

Try this entered as an array (Ctrl, Shift & Enter)


=SUM(IF(MID(C8:C300,6,99)="19002",(I8:I300)))
 
Upvote 0

AliGW

Banned
Joined
Mar 9, 2014
Messages
3,628
Did you enter it using CTRL+SHIFT+ENTER (not just enter)? If so, it will appear with curly brackets {} around it - does it?
 
Upvote 0

Forum statistics

Threads
1,191,553
Messages
5,987,240
Members
440,086
Latest member
Mahi786

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
Top