+ Reply to Thread
Results 1 to 2 of 2

Help with formula(countif possibly,,although i'm not 100% sure but whatever gets it done)

Hybrid View

  1. #1
    Registered User
    Join Date
    06-11-2012
    Location
    los angeles,ca
    MS-Off Ver
    Excel 2007
    Posts
    18

    Help with formula(countif possibly,,although i'm not 100% sure but whatever gets it done)

    Hello Guys,

    Please see the files that I attached.

    there are lots of data and I only need to extract information that I only need.

    I only need MODEL and TOTAL QUANTITY

    I will explain in the excel sheet.

    thanks in advance!!
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,434

    Re: Help with formula(countif possibly,,although i'm not 100% sure but whatever gets it do

    Put this formula in P3:

    =IF(B3="Subtotal",COUNTIF(B$2:B3,B3),"")

    then copy down to the bottom of your data by double-clicking the fill handle (the small black square in the bottom right corner of the cell cursor). Then put these formulae in the cells stated:

    R3: =IFERROR(LOOKUP("zzz",INDIRECT("B$2:B"&MATCH(ROWS($1:1),P:P,0)-1)),"")
    S3:=IF(R3="","",INDEX(O:O,MATCH(ROWS($1:1),P:P,0)))

    then you can copy these two formulae down to row 160 (i.e. until you get blanks).

    Hope this helps.

    Pete

+ 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. Possibly an IF THEN formula required
    By Pursuit2010 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-25-2013, 09:45 PM
  2. Replies: 2
    Last Post: 04-05-2010, 05:13 PM
  3. IF AND Formula (possibly)
    By macba in forum Excel General
    Replies: 1
    Last Post: 09-01-2009, 04:41 AM
  4. IF Formula possibly?
    By jendew in forum Excel General
    Replies: 4
    Last Post: 05-14-2009, 11:21 AM
  5. Formula help - sumif (possibly)
    By Betsey in forum Excel General
    Replies: 1
    Last Post: 09-06-2005, 05:05 PM

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