+ Reply to Thread
Results 1 to 12 of 12

symbol for between

  1. #1
    Registered User
    Join Date
    07-13-2005
    Posts
    64

    symbol for between

    Hi All,

    simple question as I have a blank mind. What is the symbel for between.

    ie =if(a1 is between 10-15,1,5)

    sorry its so simple but my mind is a blank.

    cheers
    brent

  2. #2
    Forum Expert
    Join Date
    12-29-2004
    Location
    Michigan, USA
    MS-Off Ver
    2013
    Posts
    2,208
    If there is one, I'm not sure what it is. But this will accomplish what you are looking for:

    =IF(AND(A1>=10,A1<=15),1,5)

    Jason

  3. #3
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Here's an alternative

    =IF((A1>=10)*(A1<=15)=0,5,1)
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Or

    =LOOKUP(A1,{0,1,10,16},{0,5,1,5})

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  5. #5
    Registered User
    Join Date
    07-14-2014
    Location
    Ohio
    MS-Off Ver
    2013
    Posts
    15

    Re: symbol for between

    I am trying to use this to remove time from a calculation.
    For ex. my assembler builds a widget usually in 30 mins. He has a break time at exactly 9:50 until 10:00.
    He records the following data.
    START = 2/27/2015 9:36:00
    END = 2/27/2015 10:17:10
    This totals 41:10 of assembly.
    I want to automatically remove the break time with a formula and say that this took only 31:10 because it crossed through the break period criteria.

  6. #6
    Registered User
    Join Date
    07-14-2014
    Location
    Ohio
    MS-Off Ver
    2013
    Posts
    15

    Re: symbol for between

    I am building a massive formula for this. The break times are from 9:50 to 10:00. 11:30 to 12:00. 1:50 to 2:00. The formula is not doing something right? As it is coming out negative.
    Here is the DATA
    TIME ACTIVITY
    2/27/2015 9:00 ASSEMBLY START
    2/27/2015 9:15 ASSEMBLY COMPLETE
    2/27/2015 9:18 ASSEMBLY START
    2/27/2015 9:34 ASSEMBLY COMPLETE
    2/27/2015 9:36 ASSEMBLY START
    2/27/2015 10:17 ASSEMBLY COMPLETE
    2/27/2015 10:18 ASSEMBLY START
    2/27/2015 10:35 ASSEMBLY COMPLETE
    2/27/2015 10:37 ASSEMBLY START
    2/27/2015 11:05 ASSEMBLY COMPLETE
    2/27/2015 11:10 ASSEMBLY START
    2/27/2015 11:29 ASSEMBLY COMPLETE
    2/27/2015 12:09 ASSEMBLY START
    2/27/2015 12:18 ASSEMBLY COMPLETE
    2/27/2015 12:20 ASSEMBLY START
    2/27/2015 12:53 ASSEMBLY COMPLETE
    2/27/2015 13:01 ASSEMBLY START
    2/27/2015 13:17 ASSEMBLY COMPLETE

    Here is the Formula
    =IF(AND(LOOKUP(VALUE(REPLACE(A2,1,5,0)),{0,0.40972222222222,0.41666666666667},{0,1,2})=0,(LOOKUP(VALUE(REPLACE(A3,1,5,0)),{0,0.40972222222222,0.41666666666667},{0,1,2})=2)),VALUE(REPLACE(A2,1,5,0))-VALUE(REPLACE(A3,1,5,0))-0.00694444444,IF(AND(LOOKUP(VALUE(REPLACE(A2,1,5,0)),{0,0.4791666666667,0.5},{0,1,2})=0,(LOOKUP(VALUE(REPLACE(A3,1,5,0)),{0,0.4791666666667,0.5},{0,1,2})=2)),(VALUE(REPLACE(A2,1,5,0))-VALUE(REPLACE(A3,1,5,0))-0.0208333333333),IF(AND(LOOKUP(VALUE(REPLACE(A3,1,5,0)),{0,0.57638888888889,0.5833333333333},{0,1,2})=0,(LOOKUP(VALUE(REPLACE(A3,1,5,0)),{0,0.57638888888889,0.5833333333333},{0,1,2})=2)),VALUE(REPLACE(A2,1,5,0))-VALUE(REPLACE(A3,1,5,0))-0.00694444444,VALUE(REPLACE(A2,1,5,0))-VALUE(REPLACE(A3,1,5,0)))))

  7. #7
    Registered User
    Join Date
    01-30-2013
    Location
    Hobart, TAS
    MS-Off Ver
    Office 2003, XL2007
    Posts
    46

    Re: symbol for between

    Hi

    Here goes

    A1 Date B1 Start C1 Finish D1 Duration E1 Actual
    B2 down start times
    C2 down finish times
    D2 =C2-B2
    E2 =IF(OR(AND(B2<=$L$3,C2>=$L$4),AND(B2<=$L$7,C2>=$L$8)),D2-$L$1,IF(AND(B2<=$L$5,C2>=$L$6),D2-$L$2,D2))
    F1 =SUM(D:D) elapsed time
    G1 =SUM(E:E) actual time
    Copy D2 and E2 down to match your data columns

    Break durations and times
    L1 =TIME(0,10,0)
    L2 =TIME(0,30,0)
    L3 =TIME(9,50,0)
    L4 =TIME(10,0,0)
    L5 =TIME(11,30,0)
    L6 =TIME(12,0,0)
    L7 =TIME(13,50,0)
    L8 =TIME(14,0,0)

    HTH

  8. #8
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,960

    Re: symbol for between

    PHS8100,
    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    Ben Van Johnson

  9. #9
    Registered User
    Join Date
    07-14-2014
    Location
    Ohio
    MS-Off Ver
    2013
    Posts
    15

    Re: symbol for between

    Sorry about that.
    I cannot figure out how to start a new thread.

  10. #10
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.96 for Mac MS 365
    Posts
    8,690

    Re: symbol for between

    use the blue + Post New Thread button at the top of the forum page you are on.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  11. #11
    Registered User
    Join Date
    07-10-2017
    Location
    CANADA
    MS-Off Ver
    2010
    Posts
    1

    Re: symbol for between

    Hi I need help.
    I need to create a table that gives me "expired", "expire soon", and "6 months mark" for 1 year contracts. It also need to change to the colors (red - expired), (blue - 6 months mark) and (yellow - expire soon). I would really appreciate you help. Thank you.

  12. #12
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2504 (Windows 11 Home 24H2 64-bit)
    Posts
    90,959

    Re: symbol for between

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

+ 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