+ Reply to Thread
Results 1 to 7 of 7

I am trying to find the MAX SF(Ship Frequencies) from VP (VendorPlant) based on the Route

  1. #1
    Registered User
    Join Date
    12-31-2021
    Location
    Bromsgrove, England
    MS-Off Ver
    2016
    Posts
    2

    I am trying to find the MAX SF(Ship Frequencies) from VP (VendorPlant) based on the Route

    Hi all,
    I will appreciate some help with below issue I have.
    I am trying to find the MAX SF(Ship Frequencies) from VP (VendorPlant) based on the Route
    I have different SF on the same VP on the same route
    eg. VP (A426MEQNXA) Route (TF155A) SF 21 and 27 - so MAX will be 27

    but if I have more routes and one of them contain the text *SX* pick the max SF from that route
    eg. VP (B40FAEQNXA) Route (SX162A with SF 22 and 28) and Route (TF158A with SF 21 and 27) - because one of the route contain *SX* MAX should be 28

    I have attached my spreadsheet and in column D and E I tried two types of formulas but seem to not work.

    thank you in advance
    Attached Files Attached Files
    Last edited by AliGW; 12-31-2021 at 04:46 AM. Reason: Title changed - please think more carefully about your thread titles in future!

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,730

    Re: MAX INDEX or MAX IF formula stuck - please help

    Welcome to the forum.

    Is this what you want (attached)?

    I moved SF to the VALUES field in the PT and then chose MAX for its value calculation.

    Administrative Note:

    We would very much like to help you with your query, however the thread title does not really convey what your request is about. Tell us what you are trying to do, not how you think it should be done.

    Please take a moment to amend your thread title. Make sure that the title properly explains your request. Your title should be explicit and not be generic (this includes function names used without an indication of what you are trying to achieve).

    Please see Forum Rule #1 about proper thread titles and adjust accordingly. To edit the thread title, open the original post to edit and then click on Go Advanced (bottom right) to access the area where you can edit your title.

    (Note: this change is not optional. As you are new here I have done it for you this time.)
    Attached Files Attached Files
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,312

    Re: I am trying to find the MAX SF(Ship Frequencies) from VP (VendorPlant) based on the Ro

    I2:
    =IF(COUNTIFS(A:A,H2,B:B,"*SX*")>0,AGGREGATE(14,6,$C$2:$C$1214/(($A$2:$A$1214=H2)*(ISNUMBER(SEARCH("SX",$B$2:$B$1214)))),1),"No SX")

    J2:
    =IF(I2="No SX",AGGREGATE(14,6,$C$2:$C$1214/($A$2:$A$1214=H2),1),"SX route")
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,730

    Re: I am trying to find the MAX SF(Ship Frequencies) from VP (VendorPlant) based on the Ro

    Have either of the solutions offered helped at all? Some feedback would be appreciated. Thanks.

  5. #5
    Registered User
    Join Date
    12-31-2021
    Location
    Bromsgrove, England
    MS-Off Ver
    2016
    Posts
    2

    Re: I am trying to find the MAX SF(Ship Frequencies) from VP (VendorPlant) based on the Ro

    Hi Glenn,

    thank you so much for your help. it's exactly what I was after.

    Amazing.
    thank you so much

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,730

    Re: I am trying to find the MAX SF(Ship Frequencies) from VP (VendorPlant) based on the Ro

    Administrative Note

    ... please don't ignore contributors to your thread - acknowledge all solutions offered, even if they don't meet your requirements. Thanks.

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,312

    Re: I am trying to find the MAX SF(Ship Frequencies) from VP (VendorPlant) based on the Ro

    You're welcome.



    It would be very nice if you were to just click the Add Reputation button at the foot of any of the posts of members who helped you reach a solution.

    Finally, if that takes care of your original question, please select "Thread Tools" from the menu link (just above the first post in the thread) and mark this 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. IFERROR INDEX MATCH Im stuck
    By JB20 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-10-2017, 09:57 AM
  2. STUCK** SUMIF INDEX MATCH - formula output sum of date range or month sum
    By Antprod in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-05-2015, 08:13 AM
  3. [SOLVED] Stuck on an isna match index problem
    By envelope pusher in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-11-2015, 04:30 PM
  4. [SOLVED] Stuck on Match function with #N/A; attempting to reverse Index/Match
    By Cappytano in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 12-10-2014, 06:39 PM
  5. [SOLVED] Index Function Pulling Every 4th Result - I'm Stuck...
    By dmarzean in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-12-2014, 02:08 PM
  6. Stuck at work and stuck on a count function
    By gregfetzer in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-24-2012, 12:47 AM
  7. Stuck on Formula
    By parteegolfer in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-06-2006, 12:08 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