+ Reply to Thread
Results 1 to 8 of 8

Formula to pull data based on one cells value

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    05-29-2012
    Location
    Walnut, Ca
    MS-Off Ver
    Excel 2010
    Posts
    182

    Formula to pull data based on one cells value

    I am trying to have the cell show the most recent data appear based on other cells.

    So in column Q on the detail tracking tab, I want it to search column A for "SPO", if it contains that verbage, then to enter the PO# in column C and the vendor name from column F in column R.

    In column S, I want it to look for all matching PO#'s in column C and sum there totals in column K and enter that number in S.

    Each PO should only be listed once but the balance should constantly update.

    I put an example in row 2.
    Perkins Budget Tracking.xlsm

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,111

    Re: Formula to pull data based on one cells value

    which one is the detail tracking tab
    how often will SPO appear - just once ?
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Contributor
    Join Date
    05-29-2012
    Location
    Walnut, Ca
    MS-Off Ver
    Excel 2010
    Posts
    182

    Re: Formula to pull data based on one cells value

    I attached the wrong file, here is the correct one.

    Perkins Budget Tracking.xlsm

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,111

    Re: Formula to pull data based on one cells value

    you have SPO a couple of times - so how do you know which one to use ?

  5. #5
    Forum Contributor
    Join Date
    05-29-2012
    Location
    Walnut, Ca
    MS-Off Ver
    Excel 2010
    Posts
    182

    Re: Formula to pull data based on one cells value

    For it to list the PO it just needs to look for "SPO" not INV - SPO or SPO - CO. but for the running balance it has to look for all of the PO's that match and add them up. Everytime SPO is entered it should have a different SPO #. The PO#'s will never duplicate if the document type is "SPO"

    Does that make sense?

  6. #6
    Forum Contributor
    Join Date
    05-29-2012
    Location
    Walnut, Ca
    MS-Off Ver
    Excel 2010
    Posts
    182

    Re: Formula to pull data based on one cells value

    How do you get a formula to search column A, if it contains "SPO" then enter whats in column C from the same row in column Q? If it is blank, continue down the list. The SPO's will be throughout the column A but I want it to condense the list in column Q.

    then how do I sum column K if column C matches column Q?

  7. #7
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,111

    Re: Formula to pull data based on one cells value

    i think you are going to need some sort of VBA - so it looks down the list and know if is already used SPO or to put all in separate rows - I dont know VBA and I'm not sure I know how to do that otherwise

  8. #8
    Registered User
    Join Date
    03-12-2014
    Location
    Central Texas
    MS-Off Ver
    Excel 2010
    Posts
    55

    Lightbulb Re: Formula to pull data based on one cells value

    So in column Q on the detail tracking tab, I want it to search column A for "SPO", if it contains that verbiage, then to enter the PO# in column C and the vendor name from column F in column R.
    In column Q, use
    =IF(ISNUMBER(SEARCH("SPO",A2)),C2,"")
    and pull down.

    In column R use
     =IF(ISNUMBER(SEARCH("SPO",A2)),F2,"")
    and pull down.

    I'm still working on the Column S code.
    Oh! I get it. I need rep--->҉

+ 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] Formula to pull data based on one cells value
    By Dena in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-23-2014, 06:31 PM
  2. Pull ranked data from another sheet based on one cells criteria
    By murphyjeff08 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-19-2013, 11:51 AM
  3. Replies: 0
    Last Post: 10-03-2013, 02:02 AM
  4. [SOLVED] Pull data from multiple cells into one cell based on criteria?
    By chaddug in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-23-2012, 09:54 AM
  5. Excel 2007 : Pull Data from Cells based upon User Input
    By FLEXCopMNPD in forum Excel General
    Replies: 2
    Last Post: 02-23-2010, 12:02 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