+ Reply to Thread
Results 1 to 8 of 8

MAXIF formula help!! Possible formatting Issue?

  1. #1
    Registered User
    Join Date
    10-05-2015
    Location
    USA
    MS-Off Ver
    2013
    Posts
    14

    MAXIF formula help!! Possible formatting Issue?

    Hello. I am struggling with a function I wish to implement but cannot get the desired results. I was hoping someone here could help me. I have uploaded a JPG showing a screenshot of the spreadsheet I am trying to work with.

    What I am trying to accomplish is to show the next available Line Sequence Number for a size listed at the top of columns Q through Z. The next available sequence is based on the Service Column set to UNK and then looks at the highest Line Sequence Number (Column V) based on Line Size (Column T).

    My first issue was the Line Sequence Numbers in Column V. They are formatted as TEXT in order to keep the leading zeros. I have read that the MIN/MAX function will not work with numbers in cells formatted as text.

    Therefore, I changed the format for the cells in Column V to "Special" and entered 000 to keep the 3 digits and the leading zeros if needed.

    Unfortunately, when I do that, the name in the "QA Check" cell (Column AD) will show the number as "1" rather than "001". (See last entry)

    Questions

    1. Is there a way to keep the numbers with leading zeros in Column V so that the Min/Max function will work AND still show the leading zeros for the number in Column AD?
    2. Can anyone help with the MAX formula that will go in the cells above showing the next line sequence number?

    I've been working on this for a couple of days now so any help is greatly appreciated.

    Thank you in advance.

    MCJ
    Attached Images Attached Images

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: MAXIF formula help!! Possible formatting Issue?

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  3. #3
    Registered User
    Join Date
    10-05-2015
    Location
    USA
    MS-Off Ver
    2013
    Posts
    14

    Re: MAXIF formula help!! Possible formatting Issue?

    Here is a sample worksheet.

    Thanks,
    MCJ
    Attached Files Attached Files

  4. #4
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: MAXIF formula help!! Possible formatting Issue?

    You need to change the references to column V within your concatenate formula to apply that "000" format..

    So in Column AD, change any reference to V5 in your concatenate formula to TEXT(V5,"000")

  5. #5
    Registered User
    Join Date
    10-05-2015
    Location
    USA
    MS-Off Ver
    2013
    Posts
    14

    Re: MAXIF formula help!! Possible formatting Issue?

    Jonmo1, thank you very much! That worked like a charm!

    Now to figure out the MAX function. :-)
    Last edited by mconwayjr; 10-05-2015 at 11:00 AM.

  6. #6
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: MAXIF formula help!! Possible formatting Issue?

    You're welcome.
    Last edited by Jonmo1; 10-05-2015 at 11:04 AM.

  7. #7
    Registered User
    Join Date
    10-05-2015
    Location
    USA
    MS-Off Ver
    2013
    Posts
    14

    Re: MAXIF formula help!! Possible formatting Issue?

    Thank you all for your help. I've got my Max Function working and everything is displaying as needed.

    Thanks again.
    MCJ

  8. #8
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: MAXIF formula help!! Possible formatting Issue?

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

+ 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. MaxIf without using an array formula
    By tigeravatar in forum Tips and Tutorials
    Replies: 13
    Last Post: 11-08-2019, 08:52 PM
  2. MAXIF formula
    By dmaniov in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-01-2015, 01:50 PM
  3. [SOLVED] Minif or maxif formula help
    By MARKSTRO in forum Excel Formulas & Functions
    Replies: 22
    Last Post: 11-08-2013, 11:40 AM
  4. Maxif - VBA or Formula
    By rajeev.raj in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-06-2013, 03:36 AM
  5. I'm looking for a maxif formula, basically
    By TracyW in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-20-2012, 10:20 AM
  6. Replies: 2
    Last Post: 08-07-2012, 07:59 PM
  7. [SOLVED] Reference for MAXIF array formula
    By JAK in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-22-2005, 03:06 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