Structured Table Names for current row

Calgary_Neil

Board Regular
Joined
Apr 5, 2014
Messages
79
I have a structured table called Prod_TechT that is in B82:IX106 that I what to count the Number of "Y"s in every seventh column in IW82..106.
This worked =SUMPRODUCT(N(MOD(COLUMN($B82:IV82)-1,7)=0),N($B82:IV82="Y")), but I want to converted it to the structured names.

i.e. =SUMPRODUCT(N(MOD(COLUMN(@Prod_TechT)-1,7)=0),N(@Prod_TechT="Y"))

where I'm erroring is in isolating Prod_TechT to the current row. The @ errors out and Prod_TechT is a large array.

I not committed to this method but adding or counting every 7th column is important.

Thanks Neil Excel 365
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)

Are you putting the formula in the table itself, or outside it?
If it's in the table is it after col IV?
 
Upvote 0
Yes, but it does have to be. (IW comes after IV and before IX). I did that for sort reasons, but if its independent then that makes no differenc,
 
Upvote 0
In that case you can do it like
Excel Formula:
=SUMPRODUCT(N(MOD(COLUMN(Prod_TechT[[#Headers],[Column1]:[Column256]])-1,7)=0),N(Prod_TechT[@[Column1]:[Column256]]="Y"))
change the column1 & column256 to match the actual column names
 
Upvote 0
Solution
Thanks for that.
That is two areas of structured tables that I don’t like. In this case the column names repeat 36+ times and relative cell references make more sense. The other is a sub Table where a named range is better.
I need time and coffee to think about what works for me.
Again thanks for the answer.
Neil
 
Upvote 0

Forum statistics

Threads
1,223,230
Messages
6,170,883
Members
452,364
Latest member
springate

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