+ Reply to Thread
Results 1 to 10 of 10

arrays

  1. #1
    Registered User
    Join Date
    09-30-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    19

    arrays

    I have some data. it's a column of rpm cycles ranging from 3500 to 5500. i want to sort this data out in to peaks and vallies. and none of the peaks or vallies are the same value. i want to make one column for peaks and another one for vallies. i am trying to use the min max formula in an array style but it's not working.

    i am using ={max(A:A,5200)} hopeing to get column B populated with all the numbers higher than 5200. i tried clicking control shift enter both all together and then seperatly but it's still not working.

    I am not really familiar with arrays could someone please help me on this.

    thankyou
    angel
    Last edited by squeekee35; 10-13-2011 at 05:54 PM.

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,168

    Re: arrays

    Hi squeekee35,

    See if the attached helps with your problem. I'm not sure I understand the question.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Registered User
    Join Date
    09-30-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: arrays

    that is not exactly what i am looking for. i want the column for peaks to list out the value of every peak and the column for valley to list out the value of every valley. i need to crunch this data and do a comparison between peak values and valley values.

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: arrays

    Post a workbook with your data ...
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Registered User
    Join Date
    09-30-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: arrays

    okay i sort of got it to work but it's not working as intended. it just gives me an array with only one max value. i need all the max values.

  6. #6
    Registered User
    Join Date
    09-30-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: arrays

    well i could not get the whole file uploaded so i just copied some of the data into a new file.
    Attached Files Attached Files

  7. #7
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: arrays

    look at attachment
    list of numbers higher then 5200

    regards
    Attached Files Attached Files
    Regards

    tom1977

    If You are satisfied with my solution click the small star icon on the left to say thanks.

  8. #8
    Registered User
    Join Date
    09-30-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: arrays

    thanx. that works....but could you explain to me how...also how did you get it not to display empty cells in your array.

  9. #9
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: arrays

    You could put this formula in B2 and copy down:

    =IF(A2=MAX(A1:A3), "max", IF(A2=MIN(A1:A3), "min", ""))

  10. #10
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: arrays

    I am not good in explanations but You can always use tool which is call “Excel Formula Evaluator” and see my formula

+ 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