=if(counta) problem

paul w

Board Regular
Joined
Apr 25, 2010
Messages
195
i have a work book with 3 sheets named pages 1, 2 and 3, in (page1), cell AU1, i have a formula that changes the text from "1 of 1" to "1 of 2", if data is entered in (page2).
=IF(COUNTA('PAGE2'!D6:X38)=0,"1 OF 1","1 OF 2")

i need it to check (page 3) same cell range, and return "1 of 3" if data is entered.
 
Nearly there but it needs to say "2of2" if page 3 isnt used
and "2of3" if page three is used,
thanks for your help so far
 
Upvote 0

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
I just looked at it again, looks like I completely messed it up for you, that happens when you try to multi task.

=if(COUNTA(D6:X38)=0,"",IF(COUNTA(Sheet3!D6:X38)>0,"2 OF 3","2 OF 2"))

sorry if you got confused.
 
Upvote 0
thankyou very much, it works like a dream, seems a lot of work, to just change a couple of page numbers, i will have to make sure i copy them down somewhere, dont want to go through that again, once again thank you.

paul w
 
Upvote 0

Forum statistics

Threads
1,225,156
Messages
6,183,228
Members
453,152
Latest member
ChrisMd

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