Fixing Table Column References

CPCCGJDE

New Member
Joined
Sep 25, 2013
Messages
2
I'm trying to map out pathways within my data set. I have 2 stages of what can happen and where so I'm running a countif function that looks at location 1, what happened at location 1, location 2, what happened at location 2.

I have 5 variables on location and 10 on what happens with over 30,000 logs of these pathways. What I'm trying to do is count the number of times each possible pathway occurs so i've set up this table.

the current formula looks a little like this ......

=COUNTIFS(Table1[What Happened Loc 1],A$75,Table1[What Happened Loc 2],B75,Table1[Location 1st],C$74,Table1[Location 2nd],G$74)

As you can see I'm perfectly capable of locking the specific criteria cells but when I copy it to the right I want to be able to lock the table column references rather than them sliding to next columns along.

Any answers would be amazing
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Try doubling them up:

=COUNTIFS(Table1[[What Happened Loc 1]:[What Happened Loc 1]],A$75,Table1[[What Happened Loc 2]:[What Happened Loc 2]],B75,Table1[[Location 1st]:[Location 1st]],C$74,Table1[[Location 2nd]:[Location 2nd]],G$74)

also if you select all the cells in the row then f2 and Ctrl+Enter rather than filling across (or copy/paste) I think you avoid the reference changes.
 
Upvote 0

Forum statistics

Threads
1,223,248
Messages
6,171,027
Members
452,374
Latest member
keccles

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