Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 90
Default Converting to R1C1 in FormulaArray

G'day there One & All, it's me again...

This time around I'm having a problem converting one of John
Walkenshaw's Array Formulae to R1C1 addressing as the Help file tells me
I'm supposed to.

It's not that difficult, but I can't figure out how to put the
references in. Here's what I just tried. I didn't expect it to work, but
the combinations of quotes (",',`) and ampersands I've already used
didn't work either. I'm sure someone out there knows how it's done.

All assistance will be gratefully accepted.

Selection.FormulaArray = "=index(data,small(if(match(data,data,0)
=row(indirect(R2C8:R[rows(data)]C8)),match(data,data,0),''),row(indirect
(R2C8:R[rows(data)]C8))))"


Thanks in advance,
Ken McLennan
Qld, Australia
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Converting to R1C1 in FormulaArray

Try John Walkenbach's arrayformula in A1 reference style.

You might be pleasantly surprised.





Ken McLennan wrote:

G'day there One & All, it's me again...

This time around I'm having a problem converting one of John
Walkenshaw's Array Formulae to R1C1 addressing as the Help file tells me
I'm supposed to.

It's not that difficult, but I can't figure out how to put the
references in. Here's what I just tried. I didn't expect it to work, but
the combinations of quotes (",',`) and ampersands I've already used
didn't work either. I'm sure someone out there knows how it's done.

All assistance will be gratefully accepted.

Selection.FormulaArray = "=index(data,small(if(match(data,data,0)
=row(indirect(R2C8:R[rows(data)]C8)),match(data,data,0),''),row(indirect
(R2C8:R[rows(data)]C8))))"

Thanks in advance,
Ken McLennan
Qld, Australia


--

Dave Peterson

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 90
Default Converting to R1C1 in FormulaArray

G'day there Dave,

Try John Walkenbach's arrayformula in A1 reference style.


Doh!!! I got his name wrong!!!

Sorry about that John!


You might be pleasantly surprised.


OK then. I'll follow your advice and work with A1 to see what
happens. I hope it won't result in a loud explosion though. I've got a
headache =)

See ya
Ken McLennan
Qld Australia
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,824
Default Converting to R1C1 in FormulaArray

It surprised me when I found this top secret info, too.

<vbg

Ken McLennan wrote:

G'day there Dave,

Try John Walkenbach's arrayformula in A1 reference style.


Doh!!! I got his name wrong!!!

Sorry about that John!


You might be pleasantly surprised.


OK then. I'll follow your advice and work with A1 to see what
happens. I hope it won't result in a loud explosion though. I've got a
headache =)

See ya
Ken McLennan
Qld Australia


--

Dave Peterson

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 90
Default Converting to R1C1 in FormulaArray

G'day there One & All, it's me again...

This time around I'm having a problem converting one of John
Walkenshaw's Array Formulae to R1C1 addressing as the Help file tells me
I'm supposed to.


Please disregard this request. I didn't even get the question
right this time around =).

For some reason I can't get the formula into the range object,
after several changes, but I'm still working on it =)

See ya,
Ken McLennan
Qld, Australia



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
help on Converting R1C1 to A1 and A1 to R1C1..tia sa2 temp Excel Discussion (Misc queries) 3 September 13th 07 08:31 AM
help on Converting R1C1 to A1 and A1 to R1C1..tia sa2 temp Excel Worksheet Functions 3 September 13th 07 08:31 AM
Two Questions: R1C1 and stop text number converting to data The Moose Excel Discussion (Misc queries) 5 October 31st 06 05:53 PM
FormulaArray Troy Excel Worksheet Functions 1 November 23rd 04 03:42 PM
Converting code to R1C1 format Paul Excel Programming 1 April 15th 04 03:48 AM


All times are GMT +1. The time now is 06:38 AM.

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

About Us

"It's about Microsoft Excel"