using numbers from cells in formula

SQUIDD

Well-known Member
Joined
Jan 2, 2009
Messages
2,104
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

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
=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,213,506
Messages
6,114,025
Members
448,543
Latest member
MartinLarkin

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