+ Reply to Thread
Results 1 to 3 of 3

Extract Data From Rows Above With Formula

  1. #1
    Registered User
    Join Date
    10-21-2016
    Location
    Kansas City, MO
    MS-Off Ver
    2010, 2013
    Posts
    75

    Extract Data From Rows Above With Formula

    Good morning! I'm working with a file (dummy data attached) that lists the contents of credit memos for online orders (prefaced with "ECOM" or "CC" in col. A) fulfilled by different sites (values in col. B with col. A rows which aren't "ECOM" or "CC"). Some sites received multiple credit memos so are listed multiple times (site 42 in col. B), while others received no credit memos so only list a site header record w/ no orders beneath (site 309 in col. B). The fulfillment dollars and site number list in the same column, but I'm looking to separate them into 2 different columns. I need the rows with orders to note the most recently-listed store account in a new column (demo'd in col. G) while rows without orders should list "N/A" - I will then filter out the "N/A" values per cols. J-L and have a finished output. I am unsure how to set this up as a formula, though - I imagine it may require OFFSET but wasn't finding anything that worked. Any help would be so appreciated!!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,005

    Re: Extract Data From Rows Above With Formula

    try this,

    O3
    =IF(N(M3),"N/A",LOOKUP(2,1/ISNUMBER($M$3:M3),$N$3:N3))

    copied down.

  3. #3
    Registered User
    Join Date
    10-21-2016
    Location
    Kansas City, MO
    MS-Off Ver
    2010, 2013
    Posts
    75

    Re: Extract Data From Rows Above With Formula

    Thank you so much, windknife - this worked perfectly! This is for a big project at work that is going to make life easier for 500+ different fulfillment locations, so I really appreciate your help!!

+ 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. Formula to extract value from 2 rows below.
    By theocharis in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 09-15-2020, 05:35 AM
  2. [SOLVED] Formula to extract non blank data so that there are no blank rows betwwen the visible data
    By Howardc1001 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-26-2020, 02:33 AM
  3. Formula to extract data from rows in two worksheets
    By Naval11 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 08-01-2019, 05:11 PM
  4. Replies: 1
    Last Post: 06-09-2016, 12:12 PM
  5. [SOLVED] Extract data from every three rows
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-05-2015, 06:52 AM
  6. [SOLVED] Use a formula within a macro to extract data and copy down x number of rows
    By rdowney79 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 11-15-2013, 12:25 PM
  7. Data Extract from Rows
    By ng6971 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-05-2011, 10:33 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