+ Reply to Thread
Results 1 to 3 of 3

Refer to cell in other worksheet by ROW()

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    11-23-2015
    Location
    Yada, Wales
    MS-Off Ver
    Office 2013
    Posts
    176

    Refer to cell in other worksheet by ROW()

    I have a cell M2 in sheetB.
    I also have cell P2 in sheetA. P2 contains a value.

    In SheetB cell M2 I want an equation that refers to the P2 value with the row function.

    However, when I refer to =SheetA!P&ROW() then NAME error occures.

    How do I write the equation with the ROW function?

  2. #2
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: Refer to cell in other worksheet by ROW()

    If you specifically need with a row function you can do this-
    =INDIRECT("SheetA!P"&ROW())
    But you could simply do this also -
    =SheetA!P2
    Happy to Help

    How to upload excel workbooks at this forum - http://www.excelforum.com/the-water-...his-forum.html

    "I don't get things easily, so please be precise and elaborate"

    If someone's post has helped you, thank by clicking on "Add Reputation" below the post.
    If your query is resolved please mark the thread as "Solved" from the "Thread Tools" above.

    Sourabh

  3. #3
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Refer to cell in other worksheet by ROW()

    I find the wording of your question a bit strange but these are possibilities for you. You don't say if the formula will be filled down the column or across columns in the same row or is just static in one cell.
    See Msg#2
    Formula: copy to clipboard
    =INDIRECT("SheetA!P"&ROW())

    Formula: copy to clipboard
    =SheetA!P2

    Additions
    Formula: copy to clipboard
    =INDIRECT("SheetA!P"&ROWS(SheetA!$A$1:A2))

    Formula: copy to clipboard
    =INDIRECT("SheetA!P"&2)
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 20
    Last Post: 02-11-2015, 04:42 PM
  2. [SOLVED] VBA modification to refer to a cell on 1 worksheet to populate a range on another
    By gwd in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-24-2014, 04:05 AM
  3. Replies: 3
    Last Post: 01-20-2012, 01:35 PM
  4. Replies: 2
    Last Post: 07-16-2008, 09:54 AM
  5. Refer to another worksheet
    By Artarta in forum Excel General
    Replies: 3
    Last Post: 11-15-2006, 08:13 AM
  6. [SOLVED] refer to last cell in worksheet?
    By svh646 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-24-2006, 08:30 PM
  7. [SOLVED] refer to same cell in other worksheet
    By JW Rutgers in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-28-2006, 05:55 AM

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