+ Reply to Thread
Results 1 to 7 of 7

Right function for formula not result

  1. #1
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Usually at work, in the UK
    MS-Off Ver
    Excel 2010
    Posts
    639

    Right function for formula not result

    I have a list that is not consecutive therefore it may jump from needing to read from cell4 to cell15 in rows 3 & 4 so referrring to an existing formula that reads from the correct row seems to make sense.

    I have the formula =Sheet2!C2 in Sheet1!P2, in Sheet1!R2 I would like to have a formula that finds the value of the same row but a different column.

    i.e. in column R
    =Sheet2!C2 becomes =Sheet2!F2
    =Sheet2!C15 becomes =Sheet2!F15.

    I was thinking a formula with =Sheet2!F and concatentating the last character of the P cells formula but it gives me the result of the formula.

    Any idea how this can be done?

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Right function for formula not result

    You could use INDIRECT

    hence
    =INDIRECT("Sheet2!F"&row())
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,616

    Re: Right function for formula not result

    Sounds like INDIRECT could help you. may be in Sheet1!P2 comething like :
    Please Login or Register  to view this content.
    and copy right
    Best Regards,

    Kaper

  4. #4
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Usually at work, in the UK
    MS-Off Ver
    Excel 2010
    Posts
    639

    Re: Right function for formula not result

    I don't seem to be able to get this to work

  5. #5
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,616

    Re: Right function for formula not result

    So probably description is not detailed enough - consider attachment with a bit more dummy data and "manually prepered" expected result.

  6. #6
    Forum Contributor
    Join Date
    04-12-2013
    Location
    Usually at work, in the UK
    MS-Off Ver
    Excel 2010
    Posts
    639

    Re: Right function for formula not result

    Or I don't understand the formula well enough to manipulate it for my needs?

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

    Re: Right function for formula not result

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    "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

+ 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. Error: A function in this formula causes the result to change ...
    By Sally27 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-20-2011, 09:36 AM
  2. What is the best formula/function to get this result?
    By Pyrex238 in forum Excel General
    Replies: 11
    Last Post: 07-12-2007, 03:47 AM
  3. IF Function returns result of formula
    By AKlein in forum Excel General
    Replies: 2
    Last Post: 03-02-2006, 12:30 PM
  4. How to replace a function with its result or resulting reference in a formula?
    By Dmitry Kopnichev in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-13-2005, 08:05 AM
  5. IF function based on True result with large formula.
    By naiveprogrammer in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-10-2005, 07:05 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