using a range of numbers in COUNT-SUMIF(INDIRECT formulas

Status
Not open for further replies.

ironsides

Well-known Member
Joined
Aug 12, 2002
Messages
575
Formula help with this

=COUNTIF(INDIRECT("$AP19:$AP$9999"&$A$1),"9")

=SUMIF(INDIRECT("$AP$19:$AP$9999"&$A$1),"9",$BD$19:$BD$9999)

I am using these formulas successfully
but Now, instead of using one number, in this case the number 9,
I want to use a range from 11:20

thanks
Ironsides
 

Excel Facts

Formula for Yesterday
Name Manager, New Name. Yesterday =TODAY()-1. OK. Then, use =YESTERDAY in any cell. Tomorrow could be =TODAY()+1.
Looks like you want number between 11 to 20 instead of 9, if yes then try this:

=COUNTIF(AND(INDIRECT("$AP19:$AP$9999"&$A$1,">=11"),INDIRECT("$AP19:$AP$9999"&$A$1"<=20")))
 
Upvote 0
Thanks KUYJS, I copied and pasted your formula into a cell that is formated number, and the only thing that cell shows is the formula, no error message. I expected it to show the sum
 
Upvote 0
Please let me clarify what I'm looking for:
starts row 19
the cells in col AP has numerals from O to 750
the cells in col BE has dollar numbers from $1 to $500

I need two things to happen:
I want to count all individual numbers that are in col AP
and I want the sum all of those individual numbers that have the dollar amount that are found in col BD

so if Col AP finds 50 numbers of 2 then i want the sum all those 2's that are found in col BD

So I'm counting and summing
 
Last edited:
Upvote 0
Thread closed. Continued here

Please do not post the same question multiple times. Questions of a duplicate nature will be locked or deleted, per #12 of the Forum Rules and points 6 & 7 of the Forum Use Guidelines.

Any bumps, clarifications, or follow-ups should be posted to the linked thread.
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,224,828
Messages
6,181,206
Members
453,022
Latest member
RobertV1609

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