Ask Me Help Desk

Ask Me Help Desk (https://www.askmehelpdesk.com/forum.php)
-   Spreadsheets (https://www.askmehelpdesk.com/forumdisplay.php?f=395)
-   -   Excel spreadsheet (https://www.askmehelpdesk.com/showthread.php?t=577110)

  • May 18, 2011, 07:39 PM
    vks64
    excel spreadsheet
    I have large numerical data stored in excel sheet. I wanted to write simple formulas to compare the numerical values in the columns A to Z.
    For Example to compare the values in columns A,B,C,D of the sheet(values of A,B,C,D arranged chronologically). I wanted formulas in the newly inserted columns E,F G H like this:
    col ‘E’ as If A<B<C<D = Result as True and for otherwise, result as false
    col ‘F’ as If A not less than B but<C<D =Result as True and for otherwise, result as false
    col ‘G’ as If A not less than B not less than C but <D = Result as True and for otherwise, result as false
    col ‘H’ as If A not less than B not less than C not less than D=Result as True and for otherwise, result as false
    In continuation of the above please reply,
    1) whether it is possible to color the cells based on the formula results for true and false?
    2) whether it is possible to sort out the cells based on the cell colors?
    Thank you
    vks64
  • May 19, 2011, 03:35 PM
    JBeaucaire
    Try these formulas...

    E2: =AND($A2<$B2, $B2<$C2, $C2<$D2)
    F2: =AND($A2>=$B2, $B2<$C2, $C2<$D2)
    G2: =AND($A2>=$B2, $B2>=$C2, $C2<$D2)
    H2: =AND($A2>=$B2, $B2>=$C2, $C2>=$D2)
  • May 22, 2011, 09:46 AM
    vks64
    Comment on JBeaucaire's post
    Thank You

  • All times are GMT -7. The time now is 09:38 AM.