+ Reply to Thread
Results 1 to 2 of 2

Relative addressing

  1. #1
    DOGMA-DOT
    Guest

    Relative addressing

    Hi

    What I want to do is as follows.

    In an EXCEL file which I get every month
    with a changing number of lines in it, at the
    top of the file in any 2 cells, I want to put
    the beginning row number in one and the
    ending row number in the second,
    i.e., 4 in P1 and 688 in P2.

    Then in a blank column I want to use the
    TEXT function =TEXT(A4,”000”) to convert
    a number like 4 to text 004. (in the past I
    have done a cut and paste down the entire
    column).
    It would be easier to be able to use the P1
    and P2 cells as relative addresses in the
    TEXT function, but I can’t seem to convince
    EXCEL of that.

    I would also like to be able to use the
    CONCATENATE function to combine
    columns A, B, C, G, H, and I into one
    column also using the relative addresses
    of the beginning and ending rows.

    I am hoping to put this into a MACRO to
    make it a “quicker clicker”.

    Thanks,
    Dot


  2. #2
    Franz Verga
    Guest

    Re: Relative addressing

    DOGMA-DOT wrote:
    > Hi
    >
    > What I want to do is as follows.
    >
    > In an EXCEL file which I get every month
    > with a changing number of lines in it, at the
    > top of the file in any 2 cells, I want to put
    > the beginning row number in one and the
    > ending row number in the second,
    > i.e., 4 in P1 and 688 in P2.
    >
    > Then in a blank column I want to use the
    > TEXT function =TEXT(A4,"000") to convert
    > a number like 4 to text 004. (in the past I
    > have done a cut and paste down the entire
    > column).
    > It would be easier to be able to use the P1
    > and P2 cells as relative addresses in the
    > TEXT function, but I can't seem to convince
    > EXCEL of that.
    >
    > I would also like to be able to use the
    > CONCATENATE function to combine
    > columns A, B, C, G, H, and I into one
    > column also using the relative addresses
    > of the beginning and ending rows.
    >
    > I am hoping to put this into a MACRO to
    > make it a "quicker clicker".
    >
    > Thanks,
    > Dot



    Hi Dot,

    I think I don't understand what you're trying to do, but I think you can try
    to use the INDIRECT function...

    --
    Hope I helped you.

    Thanks in advance for your feedback.

    Ciao

    Franz Verga from Italy



+ 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