+ Reply to Thread
Results 1 to 10 of 10

Find the latest price and lowest price out of formatted text

  1. #1
    Forum Contributor
    Join Date
    07-19-2017
    Location
    usa
    MS-Off Ver
    2016 Professional Plus
    Posts
    128

    Smile Find the latest price and lowest price out of formatted text

    Hi,
    I have attached the excel workbook where sheet named "Before" contains some prices in column A. I want to find out the latest price and lowest price out of those excel cells and the desired output is shown in sheet named "After". You can ignore the term "sold as special offer" as described in sheet named "Note".

    When you will open the excel file then you will understand the whole problem in one glance. Many thanks for all the contributors.

    Best Regards,
    Attached Files Attached Files

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Find the latest price and lowest price out of formatted text

    In B2 this will return the latest price.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    The other is going to take me a while.

    Are you open to helper columns?
    Dave

  3. #3
    Forum Contributor
    Join Date
    07-19-2017
    Location
    usa
    MS-Off Ver
    2016 Professional Plus
    Posts
    128

    Re: Find the latest price and lowest price out of formatted text

    Hi,
    Thanks for the first solution.

    I don't understand "helper columns".

  4. #4
    Forum Contributor
    Join Date
    07-19-2017
    Location
    usa
    MS-Off Ver
    2016 Professional Plus
    Posts
    128

    Re: Find the latest price and lowest price out of formatted text

    I am just interested in the solution. You can solve this problem the way you want.

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Find the latest price and lowest price out of formatted text

    Quote Originally Posted by anonymous321 View Post
    I don't understand "helper columns".
    They are additional formulas which break down and simplify the final solution.

  6. #6
    Forum Contributor
    Join Date
    07-19-2017
    Location
    usa
    MS-Off Ver
    2016 Professional Plus
    Posts
    128

    Re: Find the latest price and lowest price out of formatted text

    Its okay. You can go with most reliable and simple solution.

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,553

    Re: Find the latest price and lowest price out of formatted text

    This proposed solution uses A LOT of helper columns.
    The first one (D) is populated using:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Column E is populated using:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Columns H:CL are populated using*:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Column C is populated using*:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Note: Column F is populated with a formula which I hope can be incorporated into a user defined function (unfortunately I am VBA illiterate, but I'll ask some members from the VBA forum to take a look). If a UDF solution is possible then it should eliminate the need for a least the formula in columns H:CL.
    Note: I am returning this as an .xlsx file because your profile indicates that you are using the 2007 version.
    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  8. #8
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Find the latest price and lowest price out of formatted text

    Your sample file says the latest price should be the first price from the right, but the examples are all the first from the left, so which is correct?
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  9. #9
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Find the latest price and lowest price out of formatted text

    I have the same question as Don. I settled on left most figures. Additionally I get AU $55.30 for minimum price in A4. The anticipated is AU $59.95.

    In the attached column D find this for the latest figure. It's the same one I posted in post #2 and does double duty as a helper in the min formula.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Then for the minimums two helper formulas ... columns E:F ...

    This cleans up and "standardizes" the strings.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    This one locates the last "." in the standardized helpers.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Then array enter this in G2 and filled down. If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  10. #10
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Find the latest price and lowest price out of formatted text

    Try this, it's a start:
    Attached Files Attached Files
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

+ 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] Comparing my price to the lowest competitor's price in an excel row
    By yr25 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-10-2017, 11:05 AM
  2. [SOLVED] Find the latest price based on the date
    By jackson_hollon in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-14-2016, 01:03 PM
  3. [SOLVED] To find out which Vendor has the lowest Price for each PN
    By nironto in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-13-2014, 11:40 PM
  4. find latest price by each sku in the list
    By minngo in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 12-26-2013, 03:48 AM
  5. Find Lowest Price and Vendor
    By joshdward in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-11-2013, 11:57 AM
  6. Replies: 3
    Last Post: 07-17-2012, 03:34 AM
  7. Mark the Lowest price in a price-matrix
    By raed_237 in forum Excel General
    Replies: 8
    Last Post: 04-07-2009, 01:24 AM

Tags for this Thread

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