Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 846
Default A different R1C1 vs a1 question

I would like to keep A1 (vs R1C1 format)

Cell H4 has the equation =column()

The next two cells in H have the equation
=IF(ISBLANK(INDIRECT(CHAR(64+$H$4-7)&5+INT((ROW()-5)/6))),"",INDIRECT(CHAR(64+$H$4-6)&5+INT((ROW()-5)/6)))

and

=IF(ISBLANK(INDIRECT(CHAR(64+$H$4-7)&5+INT((ROW()-5)/6))),"",INDIRECT(CHAR(64+$H$4-5)&5+INT((ROW()-5)/6)))

where the only difference is a -6 or a -5. In fact there are 6 different
equations (-6, -5, -4, -3, -2, -1)

This equation will work if the user doen't push the equations past column "Z"

What, if anything (except changing to R1C1 mode), can I do make this work if
they insert columns? Pushing the columns past column Z?
--
Wag more, bark less
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default A different R1C1 vs a1 question

Hi Brad,

You can use FALSE as 2nd argument in the INDIRECT function; then it will accept R1C1 addresses, while your workbook is still in A1
mode

--
Kind regards,

Niek Otten
Microsoft MVP - Excel


"Brad" wrote in message ...
| I would like to keep A1 (vs R1C1 format)
|
| Cell H4 has the equation =column()
|
| The next two cells in H have the equation
| =IF(ISBLANK(INDIRECT(CHAR(64+$H$4-7)&5+INT((ROW()-5)/6))),"",INDIRECT(CHAR(64+$H$4-6)&5+INT((ROW()-5)/6)))
|
| and
|
| =IF(ISBLANK(INDIRECT(CHAR(64+$H$4-7)&5+INT((ROW()-5)/6))),"",INDIRECT(CHAR(64+$H$4-5)&5+INT((ROW()-5)/6)))
|
| where the only difference is a -6 or a -5. In fact there are 6 different
| equations (-6, -5, -4, -3, -2, -1)
|
| This equation will work if the user doen't push the equations past column "Z"
|
| What, if anything (except changing to R1C1 mode), can I do make this work if
| they insert columns? Pushing the columns past column Z?
| --
| Wag more, bark less


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 846
Default A different R1C1 vs a1 question

Thank you!
--
Wag more, bark less


"Niek Otten" wrote:

Hi Brad,

You can use FALSE as 2nd argument in the INDIRECT function; then it will accept R1C1 addresses, while your workbook is still in A1
mode

--
Kind regards,

Niek Otten
Microsoft MVP - Excel


"Brad" wrote in message ...
| I would like to keep A1 (vs R1C1 format)
|
| Cell H4 has the equation =column()
|
| The next two cells in H have the equation
| =IF(ISBLANK(INDIRECT(CHAR(64+$H$4-7)&5+INT((ROW()-5)/6))),"",INDIRECT(CHAR(64+$H$4-6)&5+INT((ROW()-5)/6)))
|
| and
|
| =IF(ISBLANK(INDIRECT(CHAR(64+$H$4-7)&5+INT((ROW()-5)/6))),"",INDIRECT(CHAR(64+$H$4-5)&5+INT((ROW()-5)/6)))
|
| where the only difference is a -6 or a -5. In fact there are 6 different
| equations (-6, -5, -4, -3, -2, -1)
|
| This equation will work if the user doen't push the equations past column "Z"
|
| What, if anything (except changing to R1C1 mode), can I do make this work if
| they insert columns? Pushing the columns past column Z?
| --
| Wag more, bark less



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
A different R1C1 vs A1 question Brad Excel Discussion (Misc queries) 0 April 29th 08 08:23 PM
R1C1 formula question igorek Excel Worksheet Functions 2 October 5th 07 02:58 AM
Question on this conversion code switching between r1c1 to A1 format tia sal2 temp Excel Worksheet Functions 1 September 16th 07 06:54 AM
Question on this conversion code switching between r1c1 to A1 format tia sal2 temp Excel Worksheet Functions 2 September 14th 07 08:58 PM
Question About Accessing Web Info Using R1C1 The Moose Excel Worksheet Functions 0 December 27th 06 02:10 AM


All times are GMT +1. The time now is 04:11 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"