Reference formula

MJ Erasmus

New Member
Joined
Jan 20, 2023
Messages
4
Office Version
  1. 365
Platform
  1. Windows
  2. Mobile
  3. Web
Hi,

I have a spreadsheet that I capture data in on a daily basis with a lot of different "Tables" which aren't formatted as actual tables.

I then reference to select data to other tables in the sheet which are not in the same layout which is where my knowledge in excel is being tested.

the base data that I use is from the table below

20-01-23.xlsx
NOPQRST
13Wip_Ageing0-2930-5960-8990-120>120Sum
1421 Oct2910731059
1524 Oct318731059
1625 Oct318731059
1726 Oct31764957
Data
Cell Formulas
RangeFormula
T14:T17T14=SUM(O14:S14)


I then compare 3 parts of the above table in a separate table as seen below and is where I am getting stuck with semi-automating it with cell references.

20-01-23.xlsx
IJKL
2Row:2652
3Wip_AgeingWip Age 08 NovWip Age 13 Jan30 Day Average
40-29 Days35517
530-59 Days111716
660-89 Days5157
790-120 Days433
8>120 Days91210
Data
Cell Formulas
RangeFormula
K3K3=CONCATENATE("Wip Age ",N52)
J3J3=CONCATENATE("Wip Age ",N26)
J4J4=O26
J5J5=P26
J6J6=Q26
J7J7=R26
J8J8=S26
L4L4=O57
L5L5=P57
L6L6=Q57
L7L7=R57
L8L8=S57


The 30 Day average portion works fine as I manually move the row down every day when adding the new data.

my goal is to be able to change the numbers above the table to the row number and have the data then be referenced to that row number,
I have tried multiple formulas and nested formulas to try and get the cell reference to work.

some examples that I tried
=CONCATENATE("=O",J2)
=CELL("contents",CONCATENATE("O",J2))
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Got it working by using the Index formula. Now I can simply change the row numbers and the data will auto populate

20-01-23.xlsx
IJKL
2Row:1444
3Wip_AgeingWip Age 08 NovWip Age 19 Jan30 Day Average
40-29 Days35517
530-59 Days111716
660-89 Days5157
790-120 Days433
8>120 Days91210
Data (2)
Cell Formulas
RangeFormula
J3J3=CONCATENATE("Wip Age ",INDEX($N$13:$T$117,$J$2,1))
K3K3=CONCATENATE("Wip Age ",INDEX($N$13:$T$117,$K$2,1))
J4J4=INDEX($N$13:$T$117,$J$2,2)
K4K4=INDEX($N$13:$T$117,$K$2,2)
L4L4=O57
J5J5=INDEX($N$13:$T$117,$J$2,3)
K5K5=INDEX($N$13:$T$117,$K$2,3)
L5L5=P57
J6J6=INDEX($N$13:$T$117,$J$2,4)
K6K6=INDEX($N$13:$T$117,$K$2,4)
L6L6=Q57
J7J7=INDEX($N$13:$T$117,$J$2,5)
K7K7=INDEX($N$13:$T$117,$K$2,5)
L7L7=R57
J8J8=INDEX($N$13:$T$117,$J$2,6)
K8K8=INDEX($N$13:$T$117,$K$2,6)
L8L8=S57
 
Upvote 0
Solution

Forum statistics

Threads
1,224,820
Messages
6,181,162
Members
453,021
Latest member
Justyna P

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