+ Reply to Thread
Results 1 to 8 of 8

last stock quote how much and store number

  1. #1
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    last stock quote how much and store number

    Expected results plugged on x and y

  2. #2
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: last stock quote how much and store number

    The file looks as follows
    Attached Files Attached Files

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,317

    Re: last stock quote how much and store number

    Cancelled by Jt

  4. #4
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: last stock quote how much and store number

    Criteria logic is one cell out of 22 needs to be greater than 0 , the rest 0 , to pull that stock quantity
    and then next cell to look for what stores number is that using the header

  5. #5
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,317

    Re: last stock quote how much and store number

    in x

    =IF(COUNTIF(B3:W3,"<>0")=1,INDEX($B$1:$W$1,,SUMPRODUCT((B3:W3<>0)*--(COLUMN($B$1:$W$1)))-1),"")

    in y

    =IFERROR(INDEX(B3:W3,X3),"")

  6. #6
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2019 PRO
    Posts
    3,616

    Re: last stock quote how much and store number

    Works , the formula in Y not works
    X is working

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,317

    Re: last stock quote how much and store number

    Works for me: it simply uses X value as index to store value.
    Attached Files Attached Files

  8. #8
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,481

    Re: last stock quote how much and store number

    OR:

    For X:
    =IFERROR(LOOKUP(2,1/$B5:$W5,$B$1:$W$1),"")

    For Y:
    =IFERROR(LOOKUP(2,1/$B5:$W5,$B5:$W5),"")
    Quang PT

+ 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] Stock on store number 14
    By makinmomb in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-19-2015, 04:30 AM
  2. Summary of stock only at store number 13
    By makinmomb in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-27-2015, 08:11 PM
  3. [SOLVED] mention store number if stock at one location
    By makinmomb in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-26-2015, 12:53 PM
  4. Excel Stock quote Help
    By PadawanLearner in forum Excel General
    Replies: 0
    Last Post: 06-23-2012, 05:05 PM
  5. MSN Stock Quote Add-In
    By LJR in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-25-2008, 01:06 AM
  6. Stock quote add in
    By Travis in forum Excel General
    Replies: 1
    Last Post: 06-05-2006, 01:15 PM
  7. [SOLVED] stock quote add in
    By Digitaldrz in forum Excel General
    Replies: 0
    Last Post: 03-12-2006, 03:20 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