#Value

megamind007

New Member
Joined
Sep 22, 2013
Messages
43
Hey folks,

=SUMIFS('June & Before:December'!F:F,'June & Before:December'!A:A,"1342-79002570",'June & Before:December'!C:C,"Payment",'June & Before:December'!I:I,"0-60 days")

whe the abovementioned formula is displaying value error.
 
It's under the Formulas tab.

It allows you to store ranges/formulas with set names, so that these may be referred to using just this name, rather than the entire formula/range reference.

Regards
 
Upvote 0

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
and please tell me if I want either "Payment" or "Credit" any one to appear in column C,then how would the formula change?
 
Upvote 0
That would be a bit trickier, I believe.

Using the same Named Ranges as before, and assuming that your data begins in row 1 and goes no further than row 500 in each of the tabs (obviously adjust to suit your needs):

=SUMPRODUCT(((T(OFFSET(INDIRECT("'"&Sheet_Names&"'!A1"),ROW($1:$500)-1,,,))="1342-79002570")*((T(OFFSET(INDIRECT("'"&Sheet_Names&"'!C1"),ROW($1:$500)-1,,,))="Payment")+(T(OFFSET(INDIRECT("'"&Sheet_Names&"'!C1"),ROW($1:$500)-1,,,))="Credit"))*(T(OFFSET(INDIRECT("'"&Sheet_Names&"'!I1"),ROW($1:$500)-1,,,))="0-60 days")*N(OFFSET(INDIRECT("'"&Sheet_Names&"'!F1"),ROW($1:$500)-1,,,))))

Regards
 
Upvote 0
sorry I forgot that and now its working.
Thnx for your reply again.you are a great asset to this forum..!
best wishes,
 
Upvote 0
sorry to bother you again,but one more question.
If all other criteria remain same except that we have to count the no. of transactions matching the criteria instead of adding them,then how would the formula change?
 
Upvote 0
No worries. If I understand you, just remove the final critierion:

*N(OFFSET(INDIRECT("'"&Sheet_Names&"'!F1"),ROW($1:$500)-1,,,))))

from the previous formula.

(Excel should autocorrect the number of brackets at the end of the new formula for you once you enter it.)

Regards
 
Upvote 0

Forum statistics

Threads
1,214,951
Messages
6,122,449
Members
449,083
Latest member
Ava19

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