+ Reply to Thread
Results 1 to 3 of 3

Multiple formulas in column with reference to single cell - Copy Issue

  1. #1
    Registered User
    Join Date
    06-21-2012
    Location
    Standerton, South Africa
    MS-Off Ver
    Excel 2010
    Posts
    4

    Multiple formulas in column with reference to single cell - Copy Issue

    Hi guys/gals,

    I have a problem with which I hope someone could help me. If the title of this thread is not clear enough, I apologise in advance. I've spent hours on Google trying to find some info on the matter, but my biggest problem seems posing the question correctly.
    First, some details:

    I created this workbook in order to create a csv file which will in turn become a shapefile indicating occurrences of species within our country.

    On sheet one, C3, I enter the QDS(Quarter Degree Square) code, e.g.: 2331CA. In cells J3:N3 the coordinates(decimal) are given for the specific QDS's polygon points.
    Now, on sheet 2 I have the following:

    A2 : =IF('Calculation Sheet'!$C3="","",CONCATENATE('Calculation Sheet'!$J3,";",'Calculation Sheet'!$B3,";",'Calculation Sheet'!$C3))
    A3 : =IF('Calculation Sheet'!$C3="","",CONCATENATE('Calculation Sheet'!$K3,";",'Calculation Sheet'!$B3,";",0))
    A4 : =IF('Calculation Sheet'!$C3="","",CONCATENATE('Calculation Sheet'!$L3,";",'Calculation Sheet'!$B3,";",0))
    A5 : =IF('Calculation Sheet'!$C3="","",CONCATENATE('Calculation Sheet'!$M3,";",'Calculation Sheet'!$B3,";",0))
    A6 : =IF('Calculation Sheet'!$C3="","",CONCATENATE('Calculation Sheet'!$N3,";",'Calculation Sheet'!$B3,";",0))

    As you can see, all 5 of the rows references to cells in one row. now, if I were to drag/copy the above mentioned formulas down the column, the next set will change all the row numbers to 7.
    This is where my problem lies, I want the next "set" of formulas to reference to the next row on sheet one, e.g. C4...and as I continue down the column, each "set" of formulas must only increment the reference cells' row numbers by one.

    I have tried using the offset formula, but just couldn't get my head wrapped around it.

    Cheers for now...

    MarVil

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Multiple formulas in column with reference to single cell - Copy Issue

    replace references to c3 b3 etc with the index
    INDEX(C:C,CEILING(ROW(A11),5)/5)
    eg
    =IF(INDEX('calculation sheet'!C:C,CEILING(ROW(A11),5)/5)="","",CONCATENATE(INDEX(j:j,CEILING(ROW(A11),5)/5),";",INDEX(b:b,CEILING(ROW(A11),5)/5),";",INDEX(C:C,CEILING(ROW(A11),5)/5)))
    Attached Files Attached Files
    Last edited by martindwilson; 06-21-2012 at 02:18 PM.
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    06-21-2012
    Location
    Standerton, South Africa
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Multiple formulas in column with reference to single cell - Copy Issue

    Ahh...great stuff!!! Thanks a lot martindwilson!
    Wow, that was fast, I didn't expect an answer this soon.

    I will definitely use this forum again.

    Cheers for now.

    MarVil

+ Reply to Thread

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