+ Reply to Thread
Results 1 to 25 of 25

Not sold continous months count

Hybrid View

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

    Not sold continous months count

    Find attached , expected result in on w2 needs to be 9 that I have punched manually
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: Not sold continous months count

    Why it have to be 9. What is logic or calculation?
    Appreciate the help? CLICK *

  3. #3
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,702

    Re: Not sold continous months count

    Thus the formula should be looking into a range c2 to q2

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

    Re: Not sold continous months count

    AZ-XL , you saved my day , I shall be using it for stock items too many , it should be doing the magic i need

  5. #5
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,702

    Re: Not sold continous months count

    array formula to perform if s3 is greater than 0 , otherwise leave blank

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

    Re: Not sold continous months count

    Its not sold for 9 months after it sold once , but it did not even sale for another 5 months when it sold once in june

  7. #7
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: Not sold continous months count

    If you mean blank cells after last sale then try this array formula
    =15-MAX(ISNUMBER(C3:Q3)*(COLUMN(C3:Q3)-2))
    Hit Ctrl+Shift+Enter.

  8. #8
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,702

    Re: Not sold continous months count

    Wow this is it , oops this would have taken ages without the formula for stocks items over 100,000 thus ,
    With this i shall exactly be able to filter all goods as dead stock for kill pricing

  9. #9
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: Not sold continous months count

    You are welcome. Enjoy it

  10. #10
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,702

    Re: Not sold continous months count

    AZ-XLS , i was wondering if you can add added magic to the formula , the formula should only perform if the stock

    that is s3 , can you also help me with =count(c3:q3) to count if stock is greater than 0 , i am poor at combining the if into a formula

  11. #11
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: Not sold continous months count

    do you mean this?
    =IF(S3>0,15-MAX(ISNUMBER(C3:Q3)*(COLUMN(C3:Q3)-2)),"")

  12. #12
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,702

    Re: Not sold continous months count

    Its counting three while there were 9 months prior that stock did not sell

  13. #13
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,702

    Re: Not sold continous months count

    This means the formula is functional on the last sell , which is not correct

  14. #14
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,702

    Re: Not sold continous months count

    AZ - XL
    The formula is not functioning exactly

    sales no sales blank for
    REF DESCRIPTION 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 TOT QTY % COUNT COUNT COUNT
    106.002.20 SOAP DISPENSER 3901 1 1 2 0 100% 2 13 3

  15. #15
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,702

    Re: Not sold continous months count

    I dont know how to re attach the file again thus re attaching

    sales no sales blank for
    REF DESCRIPTION 1 2 3 4 5 6 7 8 9 10 11 12 1 2 3 TOT QTY % COUNT COUNT COUNT
    x 1 x x x x x x x x x 1 x x x 2 0 100% 2 13 3

  16. #16
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,702

    Re: Not sold continous months count

    use this to paste on the same file

    x 1 x x x x x x x x x 1 x x x

  17. #17
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,702

    Re: Not sold continous months count

    quote answer with if stock is above 0 and also quote with regardless stock

  18. #18
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: Not sold continous months count

    Formula was counting after last realized sale. From your last post I couldnt get the point. Can you post sample file again with all variations and desired results?

  19. #19
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,702

    Re: Not sold continous months count

    Expected result on above raw data 3 is not correct , need 9 , this means it should count the max continous not sold , the formula is
    doing the task on the last sale , instead it should look into regardless last sell be it even previous

  20. #20
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,702

    Re: Not sold continous months count

    i don't know to re attach , thus I have given you raw data sales 15 month sales as below

    x 1 x x x x x x x x x 1 x x x

  21. #21
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,702

    Re: Not sold continous months count

    x meaning no sales , desired result 9

  22. #22
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: Not sold continous months count

    Maybe this?
    =IF(S3>0,MAX(LARGE(IF(ISNUMBER(C3:Q3),COLUMN(C3:Q3),0),ROW(INDIRECT("1:"&SUM(--(IF(ISNUMBER(C3:Q3),COLUMN(C3:Q3),0)>0)))))-LARGE(IF(ISNUMBER(C3:Q3),COLUMN(C3:Q3),0),ROW(INDIRECT("2:"&(SUM(--(IF(ISNUMBER(C3:Q3),COLUMN(C3:Q3),0)>0))+1))))),"")
    Attached Files Attached Files

  23. #23
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: Not sold continous months count

    Forget the previous formula.
    =IF(S3>0,MAX(FREQUENCY(IF(ISBLANK(C3:Q3),COLUMN(C3:Q3)),IF(ISNUMBER(C3:Q3),COLUMN(C3:Q3)))),"")

  24. #24
    Forum Contributor
    Join Date
    01-04-2014
    Location
    East Africa
    MS-Off Ver
    MS OFFICE 2013 PRO PLUS
    Posts
    3,702

    Re: Not sold continous months count

    Yes this is it , it leaves the cells blank exactly as i need , thank you again , please quote me the same formula without the if too , may use it somewhere too

    You have sorted me out very heavily , must say a double thank you

  25. #25
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: Not sold continous months count

    This is without if
    MAX(FREQUENCY(IF(ISBLANK(C3:Q3),COLUMN(C3:Q3)),IF(ISNUMBER(C3:Q3),COLUMN(C3:Q3)))) Ctrl+Shift+Enter

    Your are welcome. If your problem has solved then mark the thread as solved.

+ 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. Replies: 2
    Last Post: 03-19-2014, 07:26 PM
  2. Replies: 1
    Last Post: 07-02-2013, 09:17 PM
  3. vba print continous with paper continous and epson LQ300?
    By heroic in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-07-2013, 03:22 AM
  4. Replies: 2
    Last Post: 05-22-2013, 12:38 PM
  5. [SOLVED] Need formula to count number of books sold
    By Anne Troy in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-06-2005, 06:05 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