Enhanced sumifs formula???

jeongs1

New Member
Joined
May 23, 2017
Messages
44
Please see the two tables below. So I have one sheet called DATA SHEET and another called INPUT SHEET. Now, I want to calculate the difference between INVOICED and ACCRUED for each month for each product for their specific advertising type. And would like to have the difference shown up in INPUT SHEET. (ex. in the Input sheet, C3 would be -500; 1500-2000).

I have been just manually doing SUMIFS using product and adv type. But is there a way I can add the month to the formula, so that all I have to do is input the data for future months and the formula would pick it up in the input sheet??

Thank you!!!


DATA SHEET #1

ABCDEFGH
ACCRUEDINVOICEDACCRUEDINVOICEDACCRUEDINVOICED
PRODUCTADV. TYPEJAN-17JAN-17FEB-17FEB-17MAR-17MAR-17
GUM
TV200015001000100015002000
GUMRADIO150013001300131514501400
ICE CREAMTV200023002500260025002300
ICE CREAMRADIO120012501200115011001000

<thead>
</thead><tbody>
</tbody>




INPUT SHEET #2

ABCDE
PRODUCTADV. TYPEJAN-17FEB-17MAR-17
GUM
TV
GUMRADIO
ICE CREAMTV
ICE CREAMRADIO

<thead>
</thead><tbody>
</tbody>
 
Sorry... again... :( :(

So, technically, I have three sheets - Data Sheet, Input Sheet - Mr. J, and Input Sheet - Mr. K.

Mr. J and Mr. K are our Vendors/sponsors..... in hypothetical term...
ANYWAYS. Now, when I used your formula for Mr. J's input sheet, everything worked perfectly fine. I went ahead and used the same formula to Mr.K, but somehow the result returns to as "#N/A". Is there some thing that I need to adjust so that the formula picks up the values for Mr.K??

Sorry I don't understand what you're trying to add to it.
And something went wrong with your Input Sheet formatting on the forum.
 
Upvote 0

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
You simply need to ADD 0 1 2 or 3 to the Match functions...

Add 0 for Mr J accrued column
Add 1 for Mr K accrued column
Add 2 for Mr J invoiced column
Add 3 for Mr K invoiced column
 
Upvote 0
How stupid of me... You said the same thing earlier... Ugh...
Thanks again!! and sorry for my stupidity... :(
 
Upvote 0

Forum statistics

Threads
1,215,516
Messages
6,125,286
Members
449,218
Latest member
Excel Master

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