Results 1 to 4 of 4

R1C1 vs A1: Add to column "A + 1"?

Threaded View

  1. #1
    Forum Contributor beeawwb's Avatar
    Join Date
    01-04-2004
    Location
    Perth, WA, Australia
    MS-Off Ver
    Microsoft Office Excel 2003 (11.8146.8221) SP2
    Posts
    105

    R1C1 vs A1: Add to column "A + 1"?

    Hi all,

    Just wondering. Is it possible to "add" to a letter, in the way you would with R1C1 style formulas?

    I've always worked with LetterNumber style formulas, but I'm trying to add another iteration to a formula and while I can add to the row, I can't increase the column. I mean, you can't exactly say "Q+1" ... or can you?

    Edit: I should mention, the formula I'm currently working with is...
    .FormulaArray = "=SUM((Data!P3:P" & lastrow & "=A2)*(Data!Q3:Q" & lastrow & ">0))"
    ...I'm trying to make it so that on the next loop through (I'm copying the formula into multiple columns) Q3:QLastRow will be R3:RLastRow, and so on until the Do...Until loop closes. (The loop uses "loopcount" as an interation counter, so effectively it would be Q + "loopcount" iterations)

    Thanks in advance,
    Bob
    Last edited by beeawwb; 05-25-2008 at 08:44 PM. Reason: Editing title and code

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1