+ Reply to Thread
Results 1 to 10 of 10

Find bigest or lowest value in two column and write it to next

  1. #1
    Registered User
    Join Date
    09-22-2010
    Location
    Courtice, Ontario, Canada
    MS-Off Ver
    MS Office 2010
    Posts
    36

    Find bigest or lowest value in two column and write it to next

    It is hard for me and it is easy for you.
    Need help to find lowest or highest value (dependent from boss requirement) from prices supply by parts suppliers and insert it into next available column.
    As per test file:
    Price cell D6
    compare to:
    Price cell F6

    copy into cell J6 (let say) lowest price for item.

    Continue to last available price comparison.
    Hope it is clear.
    Thank you for help.
    Attached Files Attached Files
    Last edited by mdbdesign; 05-02-2011 at 01:33 PM.
    Marek

  2. #2
    Valued Forum Contributor realniceguy5000's Avatar
    Join Date
    03-20-2008
    Location
    Fl
    MS-Off Ver
    Excel 2003 & 2010
    Posts
    951

    Re: Find bigest or lowest value in two column and write it to next

    Hi,

    You could put this formula in J6 and drag down?

    Please Login or Register  to view this content.
    Mike

  3. #3
    Valued Forum Contributor scottylad2's Avatar
    Join Date
    09-03-2010
    Location
    edinburgh
    MS-Off Ver
    Office 2007 Prof & Office 2010 Student Edition
    Posts
    629

    Re: Find bigest or lowest value in two column and write it to next

    =min(D6,F6) and drag down
    Windows 7 using Office 2007 & 2010

    Remember your [ code ] [ /code ] tags, makes reading soooo much easier

  4. #4
    Registered User
    Join Date
    09-22-2010
    Location
    Courtice, Ontario, Canada
    MS-Off Ver
    MS Office 2010
    Posts
    36

    Re: Find bigest or lowest value in two column and write it to next

    Thank you both of you, beers on me.
    You guys are amazing.
    Thank you again.

  5. #5
    Valued Forum Contributor scottylad2's Avatar
    Join Date
    09-03-2010
    Location
    edinburgh
    MS-Off Ver
    Office 2007 Prof & Office 2010 Student Edition
    Posts
    629

    Re: Find bigest or lowest value in two column and write it to next

    an alternative, if you wish to check both. In L4 i've created a DV list with 1 and 2 in the dropdown and in J6 the following formula dragged down.=CHOOSE($L$4,MIN(F6,D6),MAX(F6,D6)) now select 1 from the dropdown and you'll see the min, change to 2 and you'll see the max

  6. #6
    Registered User
    Join Date
    09-22-2010
    Location
    Courtice, Ontario, Canada
    MS-Off Ver
    MS Office 2010
    Posts
    36

    Re: Find bigest or lowest value in two column and write it to next

    Work as well but I did it manually - don't know " In L4 i've created a DV list" - what is dv list?

  7. #7
    Valued Forum Contributor scottylad2's Avatar
    Join Date
    09-03-2010
    Location
    edinburgh
    MS-Off Ver
    Office 2007 Prof & Office 2010 Student Edition
    Posts
    629

    Re: Find bigest or lowest value in two column and write it to next

    a DV list is a drop down, in whereever you'd like it, say cell L24 press Alt + D + L to open the data validation dialogue box, select List from the drop down, in the input box type 1,2 then clock ok. you'll now have a drop down with 1 or 2 as the options, then use the formula I posted =CHOOSE($L$4,MIN(F6,D6),MAX(F6,D6)) and you'll be able to see either 1 to show the min or 2 to show the max

  8. #8
    Registered User
    Join Date
    09-22-2010
    Location
    Courtice, Ontario, Canada
    MS-Off Ver
    MS Office 2010
    Posts
    36

    Re: Find bigest or lowest value in two column and write it to next

    I got it. DV is what confuse me. Now I know: DV is data validation.
    Thank you.
    One thing may I ask: Is formula or macro dependent from version of software? Is formula from Excel 2003 will work always on Excel 2010?

  9. #9
    Valued Forum Contributor scottylad2's Avatar
    Join Date
    09-03-2010
    Location
    edinburgh
    MS-Off Ver
    Office 2007 Prof & Office 2010 Student Edition
    Posts
    629

    Re: Find bigest or lowest value in two column and write it to next

    not always, there are some formulas introduced at the launch of 2007 which don't work in earlier versions. For instance Countif Sumif and works in all versions, but countifs Sumifs only work in 2007 or later. The formula I passed works all versions.I'm still a novice in VBA so one of the people who know that may answer. There are some other newer ones in 2010

  10. #10
    Registered User
    Join Date
    09-22-2010
    Location
    Courtice, Ontario, Canada
    MS-Off Ver
    MS Office 2010
    Posts
    36

    Re: Find bigest or lowest value in two column and write it to next

    That answer some of my problem.
    Thank you.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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