How do this work !!

Michael M

Well-known Member
Joined
Oct 27, 2005
Messages
21,896
Office Version
  1. 365
  2. 2019
  3. 2013
  4. 2007
Platform
  1. Windows
Hi All
I've just received this from a workmate....and he wants an explanation !!
You'll note there is only a reference to the headers in the formulae.
I'm interested how it's doen. There is no code, or named ranges.
Maybe it's so obvious, I'm looking too hard

<b>Excel 2003</b><table cellpadding="2.5px" rules="all" style=";background-color: #FFFFFF;border: 1px solid;border-collapse: collapse; border-color: #A6AAB6"><colgroup><col width="25px" style="background-color: #E0E0F0" /><col /><col /><col /><col /><col /><col /><col /></colgroup><thead><tr style=" background-color: #E0E0F0;text-align: center;color: #161120"><th></th><th>A</th><th>B</th><th>C</th><th>D</th><th>E</th><th>F</th><th>G</th></tr></thead><tbody><tr ><td style="color: #161120;text-align: center;">3</td><td style="font-weight: bold;text-align: center;;">y</td><td style="font-weight: bold;text-align: center;;">x</td><td style="font-weight: bold;text-align: center;;">z</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">4</td><td style="text-align: right;;">1</td><td style="text-align: right;;">0</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;">1</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">5</td><td style="text-align: right;;">1</td><td style="text-align: right;;">1</td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td><td style="text-align: right;;"></td></tr><tr ><td style="color: #161120;text-align: center;">6</td><td style="text-align: right;;">2</td><td style="text-align: right;;">2</td><td style="text-align: right;;">5</td><td style="text-align: right;;"></td><td style="text-align: right;;">2</td><td style="text-align: right;;"></td><td style="text-align: right;;">2</td></tr></tbody></table><p style="width:3.6em;font-weight:bold;margin:0;padding:0.2em 0.6em 0.2em 0.5em;border: 1px solid #A6AAB6;border-top:none;text-align: center;background-color: #E0E0F0;color: #161120">Sheet1</p><br /><br /><table width="85%" cellpadding="2.5px" rules="all" style=";border: 2px solid black;border-collapse:collapse;padding: 0.4em;background-color: #FFFFFF" ><tr><td style="padding:6px" ><b>Worksheet Formulas</b><table cellpadding="2.5px" width="100%" rules="all" style="border: 1px solid;text-align:center;background-color: #FFFFFF;border-collapse: collapse; border-color: #A6AAB6"><thead><tr style=" background-color: #E0E0F0;color: #161120"><th width="10px">Cell</th><th style="text-align:left;padding-left:5px;">Formula</th></tr></thead><tbody><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">E4</th><td style="text-align:left">=y</td></tr><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">A5</th><td style="text-align:left">=x</td></tr><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">A6</th><td style="text-align:left">=x</td></tr><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">E6</th><td style="text-align:left">=y</td></tr><tr><th width="10px" style=" background-color: #E0E0F0;color: #161120">G6</th><td style="text-align:left">=x</td></tr></tbody></table></td></tr></table><br />
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
By 'no named ranges' do you mean nothing in the Name box drop-downs?
Have you looked in the workbook's Name list, or tried pasting out the names? (F3, Alt+L)
I'm guessing that each name (if it exists) is defined to give a fixed column, relative row.

Denis
 
Upvote 0
Hi Denis
Ok, nothing in the Name Drop down
Nothing in the workbook name list
No code
I've looked for hidden sheets.
Done a Ctrl End on each sheet (3 of)
Done an Unhide on ALL Rows and Columns for each sheet.

If I copy the sheet to a new workbook, "=y" becomes $B$4:$B$65536 and "=x" is the same except for column "C"
But I can't find where the variable references the range.
 
Upvote 0
I suspect they are labels. Under Tools-Options -Calculation (2003 and earlier) is the 'Accept labels in formulas' option set?
 
Upvote 0
Hi Rory
Bingo......OK, now educate me..
How does one change the cell reference ( range $B$4:$B$65536) to =y under the labels menu


Righto....I educated myself...Insert / Name / Create and then define the range to the name.

Thanks Rory
Will I ever learn how to use Excel......what does my tag say ??
 
Last edited:
Upvote 0
I wouldn't bother learning that - it doesn't work in 2010.
 
Upvote 0
Well, apart from being a frustration, I can't see a real value to it anyway.
I can imagine slipping it into some VBA code and annoying the hell out of some poor bugger trying to debug it !!
 
Upvote 0
Hi Michael and Rory,

Still a mystery for me. Sorry for abusing of your patience, but, please, could you explain to me how this can be done. :confused:

By the way, i have 2007 and 2010, not 2003.

M.
 
Upvote 0
I had forgotten earlier that it was actually discontinued in 2007, so you can't use it in either version. Good thing too, IMO.
 
Upvote 0

Forum statistics

Threads
1,224,603
Messages
6,179,849
Members
452,948
Latest member
UsmanAli786

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