+ Reply to Thread
Results 1 to 6 of 6

Formula that returns the text in another cell NOT a Lookup

  1. #1
    Registered User
    Join Date
    10-18-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    8

    Formula that returns the text in another cell NOT a Lookup

    I have a workbook that I am trying to automate a bit. I track grant expenses in one workbook and I track the actual payments in another (no other reason than necessity).

    Is there a formula, other than V or H Lookup that would return the text from a cell? I need the description of the expense to translate from one workbook to the other without having to do it manually. The formula is dependent upon whether a particular grant is being used so I've coded the grants 1, 2, 3, etc. I've been doing it manually for years but we have grown so much that it's a massive endeavor and needs to be automated / restructured.

    I've tried "If" statements but they return a value of "0". I tried to combine an "If" with a "Left" but I was unsuccessful. I do fine with the easy formulas....it's thinking through these type that I'm not so good at.

    =SUMIF('[2013 NHC Fund status.xlsx]Patient Exp Tracking 2013'!$L$7,48,'[2013 NHC Fund status.xlsx]Patient Exp Tracking 2013'!$M$7)
    Will return the $ value I need but I cannot determine how to write a formula to pull the description (text) into the other workbook.

    Any help would be greatly appreciated.

    Thanks :0)

  2. #2
    Valued Forum Contributor
    Join Date
    05-08-2012
    Location
    Georgia, USA
    MS-Off Ver
    Excel 2003, 2010
    Posts
    811

    Re: Formula that returns the text in another cell NOT a Lookup

    MATCH function can be used instead of VLOOKUP and HLOOKUP.

    How about sample data?
    Click on star (*) below if this helps

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Formula that returns the text in another cell NOT a Lookup

    Hi Cammyd and welcome to the forum

    why the reluctance to use a tool that will give you what you need?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Registered User
    Join Date
    10-18-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Formula that returns the text in another cell NOT a Lookup

    The way the spreadsheet is set up, the V or H Lookup won't be effective. The data is such that one code represents multiple entries but the description is what is different. And it could be that I don't understand it well enough to make it work, but I really don't think it will in this instance. (?)

  5. #5
    Registered User
    Join Date
    10-18-2012
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Formula that returns the text in another cell NOT a Lookup

    My work won't allow me to upload to the internet, it's blocked.
    I can type a general idea if you think that might help. (??)

    The workbook/sheet I want information to go into is set up:
    Account Code / Invoice Date / Vendor / Description / Invoice Amt $ / Balance $

    The workbook/sheet (totally separate) I want the ifnormation to come from is set up:
    Date Paid / Month of Svs / Grant Code / Grant /Op Exp / Grant Code / Grant /Op Exp / Description / Payment Info

    There are about 9 of the sections "Grant Code / Grant /Op Exp" because they all fall into different accounting units. We have a large AP department, what I am doing is keeping track of what is spent in Grants vs Op Exp for my department. We have let's say grants 1-5 and each grant code is the "KEY" to bringing the information back to the correct spreadsheet in the separate workbook. "=If(grantcode,1,description)" is what I want but don't know how to get.

    Hope this description is helpful.

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Formula that returns the text in another cell NOT a Lookup

    Check your PM please

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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