+ Reply to Thread
Results 1 to 8 of 8

Trying to get cell value based on formula I construct

  1. #1
    Registered User
    Join Date
    01-08-2020
    Location
    Rochester, NY
    MS-Off Ver
    Office 16
    Posts
    11

    Trying to get cell value based on formula I construct

    I have a spreadsheet like this:

    Please Login or Register  to view this content.
    So, I know on SheetName, row 1 has my manager needed, so I need to find their value of the Function in that sheet and put it in this current sheet, row E. This address formula isn't working. How do I get it to work? The 1 in column D above is calculated with the following formula:

    =MATCH(C2208,'SheetName'!$D$2:$D$25,0) //this returns row that the manager in C2208 is found in SheetName.

    My original idea was to do this with vlookup but I couldn't figure out how to get vlookup to work.
    Last edited by mcleary1; 01-08-2020 at 10:48 AM. Reason: format

  2. #2
    Registered User
    Join Date
    01-08-2020
    Location
    Rochester, NY
    MS-Off Ver
    Office 16
    Posts
    11

    Re: Trying to get cell value based on formula I construct

    I tried this formula for getting the function but it has a #REF! error.

    =INDIRECT("SheetName!B"&d2208)

  3. #3
    Registered User
    Join Date
    01-08-2020
    Location
    Rochester, NY
    MS-Off Ver
    Office 16
    Posts
    11

    Re: Trying to get cell value based on formula I construct

    I tried using vlookup like this:

    =VLOOKUP(C2208,'SheetName'!$D$2:$D$25,2,FALSE)

    But it has #REF! error

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,731

    Re: Trying to get cell value based on formula I construct

    Instructions telling you how to attach your workbook are at the top of the page.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  5. #5
    Registered User
    Join Date
    01-08-2020
    Location
    Rochester, NY
    MS-Off Ver
    Office 16
    Posts
    11

    Re: Trying to get cell value based on formula I construct

    I tried =VLOOKUP(c2208,'SheetName'!$A$2:$E$25,2,FALSE)

    but it gives #N/A

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,731

    Re: Trying to get cell value based on formula I construct

    Read post #4.

  7. #7
    Registered User
    Join Date
    01-08-2020
    Location
    Rochester, NY
    MS-Off Ver
    Office 16
    Posts
    11

    Re: Trying to get cell value based on formula I construct

    I got it to work with

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The problem went away once I removed spaces from tab names. I noticed it when I was putting together my example spreadsheet for AliGW, which I won't attach since I got it working now. Thanks!!

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,731

    Re: Trying to get cell value based on formula I construct

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

+ 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. [SOLVED] Construct a formula based on value in other cells
    By bigfishprf in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 07-30-2019, 06:13 AM
  2. [SOLVED] Inventory management, construct receipt based on product code
    By ppgab in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-16-2014, 08:11 PM
  3. [SOLVED] How to construct IF formula to search for if a cell contain any 3 string.
    By Syahman_style666 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 04-24-2014, 02:17 PM
  4. [SOLVED] Construct a formula on a pre-determined cell for a pre-determined duration of cells
    By Shaun Gemiver in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-03-2013, 11:14 AM
  5. Using a cell contents to construct a formula?
    By pradhan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-09-2010, 09:21 PM
  6. [SOLVED] Construct cell reference for use in formula
    By AG in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-27-2005, 11:05 AM
  7. [SOLVED] How do I construct a text box which will pop-up based on a condit.
    By aoliveira in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-19-2005, 03:06 PM

Tags for this Thread

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