Concatenation issue

Belair58

Board Regular
Joined
Mar 31, 2005
Messages
95
Hello,

I have a macro that's generating subtotals, cell O16's formula is =SUBTOTAL(3,O4:O15)

I've isolated the range down by using LEFT and RIGHT in Cell U16 O4:O15

I now need to have cell V16's formula to be =ROUND(COUNTIF(U16,"LATE")/COUNTA(U16)*100,2)

I've tried using &

=ROUND(COUNTIF(&U16&,"LATE")/COUNTA(&U16&)*100,2) but I receive the "There's a problem with your formula" error.

="ROUND(COUNTIF("&U16&",""LATE"")/COUNTA("&U16&")*100,2)" This adds the range but doesn't work as a function.

Any help would be appreciated.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
It's not entirely clear to me but, are you perhaps wanting to use INDIRECT ?

As in. =ROUND(COUNTIF(INDIRECT(U16),"LATE")/COUNTA(INDIRECT(U16))*100,2)
 
Upvote 0
Snakehips,

That worked great. I'd never used Indirect before, very interesting. Thanks
 
Upvote 0

Forum statistics

Threads
1,213,565
Messages
6,114,337
Members
448,568
Latest member
Honeymonster123

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