using numbers from cells in formula

SQUIDD

Well-known Member
Joined
Jan 2, 2009
Messages
2,126
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
HI

Ok, so lets say i use
=COUNTA('MY SELECTIONS'!A1:A100)-1
no problem

but lets say the 1 was in cell z1 and the 100 was in cell z2.

can it be done and if so how, im goint to kick myself its easy.

thanks for looking

Dave
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
=counta(index(a:a, z1):index(a:a, z2))
 
Upvote 0
oh ok, thanks shg.

thankyou very much.

it was not the answer I was expectiong but it certianly does work.

i also have this formula, could the same be applied to countifs?

=COUNTIFS('MY SELECTIONS'!F:F,1)

thanks again

dave
 
Upvote 0
ok shg

think i sussed out how it all works now thanks

=COUNTIFS(INDEX('MY SELECTIONS'!F:F, H27):INDEX('MY SELECTIONS'!A:A, H28),1)

cheers

great job

dave
 
Upvote 0

Forum statistics

Threads
1,223,908
Messages
6,175,307
Members
452,633
Latest member
DougMo

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