+ Reply to Thread
Results 1 to 5 of 5

Change serial number if value is greater then 0

  1. #1
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Change serial number if value is greater then 0

    hi,
    change serial number (Column T) and bill number (Column V) if the value of Column S value is greater then >0
    hope some one will help

    Capture.JPG
    Attached Files Attached Files
    Use Code-Tags for showing your code :
    Please mark your question Solved if there has been offered a solution that works fine for you
    If You like solutions provided by anyone, feel free to add reputation using STAR *

  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,743

    Re: Change serial number if value is greater then 0

    Not tested:

    Into Z5:

    Please Login or Register  to view this content.
    Into AA5:

    Please Login or Register  to view this content.
    drag both formulas down as needed.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  3. #3
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,891

    Re: Change serial number if value is greater then 0

    I'd do it like below.
    In some out of way cell, store seed value (or you can hard code it).

    Then in AA5:
    =IF(S5>0,$AD$2+COUNTIF($S$5:S5,">0"),"")

    Copy down.
    Attached Files Attached Files
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  4. #4
    Forum Contributor HaroonSid's Avatar
    Join Date
    02-28-2014
    Location
    india
    MS-Off Ver
    Excel 2013
    Posts
    2,080

    Re: Change serial number if value is greater then 0

    Quote Originally Posted by KOKOSEK View Post
    Not tested:

    Into Z5:

    Please Login or Register  to view this content.
    Into AA5:

    Please Login or Register  to view this content.
    drag both formulas down as needed.
    Thank you very much @KOKOSEK
    Its working as i need

  5. #5
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,743

    Re: Change serial number if value is greater then 0

    Happy to help.
    Thanks for 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. Replies: 6
    Last Post: 08-21-2018, 09:58 AM
  2. [SOLVED] count number in serial and break up serial count
    By gondal in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-28-2016, 08:44 AM
  3. [SOLVED] Help request to change serial number for new date
    By mso3 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-30-2016, 08:05 AM
  4. Match Column A's Project number to change based on greater number in new row
    By Excelnoub in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-02-2013, 10:18 AM
  5. How to change Serial Number to Text
    By reneesunny in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 11-08-2013, 09:32 PM
  6. Replies: 5
    Last Post: 07-25-2013, 08:24 AM
  7. Finding a serial number in a list of serial numbers
    By zocoloco in forum Excel General
    Replies: 2
    Last Post: 02-04-2009, 05:20 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