Creating a formula

I need to create a formula in a field that will give a reply between 1 and 5 depending on the measurement contained in another field example number in field 1200mm I need to return the answer 2. Can any one help with that?

virginnumbers wrote:
In one Field I wish to place a measurement and the answer in a seperate field ranges are:-
from 0 to 2133 mm answer =2
from 2144 mm to 3352 mm answer =3
from 3353 mm to 4267 mm answer =4
from 4268 mm to 5600 mm answer =5
Thank you for taking the time to look at this problem with me.
LOOKUP should do it.
I've assumed you meant "from 2134 mm to 3352 mm answer =3" in the second line.
The formula for C2 is =LOOKUP(B6,$F$2:$F$6,$G$2:$G$6)
Regards,
Barry

Similar Messages

  • Creating a formula for the Header to evaluate each record in Detail

    I want to create a formula that notifies the user in the Header if there is a certain value in the report detail.  I was able to create the formula but it only gave me the correct message when the 1st record in the detail had the value.  Is there a way for it to read ALL records and if any of them have the value, to display the message?
    Example:
    Formula in Header:  if ({@Total}>1) then "ERROR"
    There are about 500 {@Total} fields in the detail and my formula only looks at the 1st one in the list.

    Hi Shannyn,
    There is this in-built faility provided by Crystal Reports called as 'Alerts'.
    This will help you meet your requirment.
    For more information on functionality / Creation of Alerts, please go to Crystal Reports Help and search for 'Alert'. You will find it very helpful.
    Hope this helps.
    Regards,
    Jay.

  • Unable to create a formula on iPad and iPhone

    I'm able to create a formula  (like =DATEDIF) using Numbers on my MacBook, but can't get it to work using Numbers for iOS.
    It says in the manual (in the app) that you can just touch the formula you want to use, but that doesn't seem to work here 
    When I touch DATEDIF in the list, I go straight to the explanation of this function, the formula refuses to be activated.
    Moving a spreadsheet through iTunes from the Mac to the mobile units works OK.
    That document functions then fine when I change a date in one of the cells that the formula uses on the iPad - but I can't create a similar formula in iOS.
    It's probably something simple that I don't see, so I would be grateful if one of you could point me in the right direction

    OK, now I've tried again...
    And all of a sudden, it works!
    When trying again (opening the list where you find the formula), the app switched its language (the iPad uses Norwegian as default, the app was using English).
    What caused this, I don't know
    But, most important: now the app behaves as it should

  • How to create a formula based on group level

    Hi,
    If there are three group level ins a report:
    How can I creat a formula to put on page header depended on current group level?
    Thanks!

    Thanks, Abhilash ans Sastry
    I really try to do is to show different text on page header depend on which group level is. the reason is that if there are multi pages group footer, only the first page has group name on tilte if I put group name on the footer.
    I would like to put group name on page header, but have to know which group level is.
    Thanks again

  • How to create a formula to get the month name based on userresponse

    Hi,
    I have created a report using E-Fashion - Actually i need  a report like  -  For ex i need 4 months data from 12 months
    My report should display the 4 months data along with starting & end month data in the next 2 columns
    I have used the prompt to fetch the data & i have created a formula in the cloumn like below:
    For the column haader i have given = Tonumber(userresponse("Enter start:")) - I am getting the Month number in the header But i need the month name in the header.Please guide me
    Regards
    Karthika

    Hi Ram,
      Thanks for your Help.I tried in an another way like I created 2 Variable -
    Start Date  =UserResponse("Enter Month(Start):"
    End Date = =UserResponse("Enter Month(End):"
    I have created the column header for
    start date:
    =If([start Date] = "1";"January";If( [start Date] = "2"; "February";If([start Date] = "3";"March";If([start Date] = "4";"April";If([start Date] = "5";"May";If([start Date] = "6";"June";If([start Date] = "7";"July";If([start Date] = "8";"August";If([start Date] = "9";"September";If([start Date] = "10";"October";If([start Date] = "11";"November";If([start Date] = "12";"December"))))))))))))
    End Date:
    =If([End Date] = "1";"January";If( [End Date] = "2"; "February";If([End Date] = "3";"March";If([End Date] = "4";"April";If([End Date] = "5";"May";If([End Date] = "6";"June";If([End Date] = "7";"July";If([End Date] = "8";"August";If([End Date] = "9";"September";If([End Date] = "10";"October";If([End Date] = "11";"November";If([End Date] = "12";"December"))))))))))))
    For the Datas in the column:
    Start Date:
    =[Sales revenue] Where([Month]=ToNumber(UserResponse("Enter Month(Start):")))
    End Date:
    =[Sales revenue] Where([Month]=ToNumber(UserResponse("Enter Month(End):")))
    I got the Report format as i required
    Thanks
    Karthika

  • Error while Creating a formula for field AZNOR (T-Code : OP17)

    Dear Experts,
    i am facing a problem in Transaction OP17 while creating a formula for field AZNOR ( No of indivual capacity in work center) in work center (T-Code : CR02) .
    It shows the error
    The data object "F" has no component called "AZNOR''..
    Please let me know the solution..
    Thanks & Regards
    Birendra Kumar

    Hi,
    I have the same problem.
    Could You tell me witch is the correct origin?
    Thanks a lot!
    Bye
    Laura

  • Creating a formula using a alphabetic drop down list?

    I am creating a work sheet using formulas and drop down list. I have one drop down list that has a list of name and the second list is a list of letter that correspond to those names. (ex: column "J" on line "4 - 29" there is the letter
    "A-Z" and then continues , in column "K" line "4" starts the list of names. In Cell B4 is the drop down list of names in column "K" to choose from, I would like the letter that corresponds to that name automatically
    be put into cell A4, how do I create the formula in cell A4?

    Hi Tina,
    According to your description, please following these steps:
    With your sample as shown in the following figure, select range “J4:K29”, and click
    FORMULAS-Defined Names-Create from Selection, and check
    Right column.
    Then, use the enter formula in A4 “=INDIRECT(B4)”.
    And I upload a TEXT.xlsx file on OneDrive, you can download this file via this link:
    https://microsoft-my.sharepoint.com/personal/v-lzng_microsoft_com/Documents/Shared with Everyone
    Hope it’s helpful.
    Regards,
    Emi

  • Create a formula based on another cell

    I would like to create a formula which gives a total/percentage based on the content of another cell.
    For example, if A3 contains text "apple", then multiply A7 * 5%; If A3 contains "banana", then multiply A7* 3% and so on.
    I have tried using the 'IF' and 'IF-true' functions to no avail.
    Any suggestions?
    Thanks!

    Hi Harveycw,
    A Lookup table containing names of fruit and the relevant multipliers
    Fruit
    Multiplier
    Apple
    5
    Banana
    3
    Cherry
    4
    Date
    9
    Eugenia
    11
    Fig
    6
    Grape
    7
    Huckleberry
    8
    Main table
    Fruit
    Value
    New Value
    Apple
    100
    5
    Banana
    100
    3
    Apple
    1000
    50
    Banana
    1000
    30
    Grape
    100
    7
    Grape
    200
    14
    Formula in C2 (and Fill Down)
    =B2×VLOOKUP(A2,Lookup::A:B,2,FALSE)÷100
    Regards,
    Ian.

  • How do I create a formula to convert words to numbers?

    Hi,
    Basically my spreadsheet is almost entirely words and as numbers (or excel for that matter) work with words (although this I have suggested as an improvement), I need to convert all the words to numerics.
    For example. I have a question with a drop down asking for male or female (I've done drop down lists as I want to cross analyse the results at a later date). I need to create a formula so that numbers automatically counts up all the males and females and puts them in another overall table. I guess I do this by creating a formula for numbers to turn all 'males' into 1 and all 'females' into 2, then ask numbers to count up all the 1's and 2's and put them in a table?
    Here are a couple of images which may or may not explain it further:
    Raw form:
    Second table:
    Message was edited by: lawero
    Message was edited by: lawero

    lawero wrote:
    For example. I have a question with a drop down asking for male or female (I've done drop down lists as I want to cross analyse the results at a later date). I need to create a formula so that numbers automatically counts up all the males and females and puts them in another overall table. I guess I do this by creating a formula for numbers to turn all 'males' into 1 and all 'females' into 2, then ask numbers to count up all the 1's and 2's and put them in a table?
    Wasn't how to "automatically count up all the males and females" already answered in my first post to your question How do I create a graph in numbers? The coloured text is a link to that thread.
    Regards,
    Barry

  • Is it possible to create a formula that converts a resource hours into full time units in project server 2010

    Hi
    Is it possible to create a formula that converts a resource available hours into full time equivalent units in project server 2010? Say a resource has 160 available hours for any given month this will translate into 1 FTE for this month. If it is 80 hours
    for that month then it will be 0.5 FTE and so on and so forth.
    Thanks,
    -Maurizio

    Maurizio,
    It's a bit late, but there are two OLAP cubes that can provide you with this information in a pivot table in Project Server 2010.
    "MSP_Portfolio_Analyzer" and "Resource Timephased" contains capacity measures that be used to provide calculated measures when the cube database is generated. You change OLAP cube configuration in "Server Settings -> Database Administration -> OLAP
    Database Management". In either of the aforementioned cubes, use "Calculated Measures" to create two measures:
    Member Name
    MDX Expression
    Available (FTE)
    ([capacity]-[work])/[capacity]
    Work (FTE)
    [Work]/[Capacity]
    These two fields will appear in the pivot table field list as "Values", and when combined with a "Time" column, can give you a picture of FTE usage and availability.
    I prefer the portfolio version since it contains project/assignment data and resource data, letting you see just  how resources are being utilized.
    One thing I have not been able to get around is getting ""Maximum Units" for a resource factored into the measure. A common practice is to allocate more that "100%" to generic resources to represent teams for planning purposes. The OLAP measures will show
    only 0.0 to 1.0 FTE for any resource, even if a resource represents more than one body.
    If you have an SSRS query you could share, I would appreciated it!
    Hope this helps!
    JTC
    JAckson T. Cole, PMP, MCITP

  • How to create characterstic formula variable in reporting

    how to create characterstic formula variable in reporting
    tell me any one in steps
    thanks

    HI
    Query Designer -- Select your Char -- Create Char Variable -- Processing type should be Replacment path =In the Replace Variable with drop down box, choose Attribute Value. In the Attribute drop down, select Characteristic Reference
    http://help.sap.com/saphelp_nw70/helpdata/EN/03/6ba03cc24efd1de10000000a114084/frameset.htm
    Hope it helps

  • Create a formula variable using replacement path for current date

    Hi All,
    I created a formula variable using replacement path for current date.
    But when i used this variable am getting an error message saying .
    " This Variable cannot be used in this query".
    Could you please let me know the reason?
    Thanks,
    Zehra

    Hi All,
    Thanks for all your help...
    I just found a solution via the below link
    in Bex Formula variabel, Current calander day(sap exit) missing.
    Here he is trying to use the existing formula variable.
    My doubt here is, Even i could not find this varaible in BEX formula variable, But could see this in BI Content path as mentioned in the above link.  DO i have to transport this varaible , or i simply can activate it in production?
    I just could find this in BI Content but not in MetaData Repository.
    Thanks,
    Zehra

  • I want to create a formula for telephone numbers in the formula editor

    Is there a way to create a formula for telephone numbers in the "custom" editor in the inspector
    IE if I enter 2123456789 into a cell it automatically formats it to look like this (212) 345-6789

    You can create a new format by opening the Cells Inspector, then selecting "Custom" from the format menu:
    You can add the ### fields and click the menu on the left of the field:

  • How do I display decimal hour as time? Example, I created a formula (originally in Exel) where the result is 2.25. I need this to be displayed as 2:15, (2h, 15m). Here is the formula in cell b8   =SUM((A6/18)*B3 (B6/8)*B3 (A6 B6)/70*B3 B2)/60

    How do I display decimal hour as time in Numbers for iPhone5 ? Example, I created a formula (originally in Exel) where the result is 2.25. I need this to be displayed as 2:15, (2h, 15m). Here is the formula in cell b8   =SUM((A6/18)*B3 (B6/8)*B3 (A6 B6)/70*B3 B2)/60. The result can be in either b8 or a different cell.
      Thanks for helping this novice

    B1=DURATION(0,0,A1,0,0,0)
    The DURATION function combines separate values for weeks, days, hours, minutes, seconds, and milliseconds and returns a duration value.
    DURATION(weeks, days, hours, minutes, seconds, milliseconds)

  • Problem while creating local formula

    hi guys,
    when iam trying to Create Local formula,i got error message with pop up screen like,
    BW Server Errror
    An error occured in the communication with server with BW server
    Due to this ,the communication had to be closed
    In detail description
    we got the message like
    'An exception occured that was not caught'
    can u please give me some idea to solve this issue,its very urgent.
    Regards
    sk

    Hi MK,
    thanks for your reply,i tried the way what u have suggested me,but stuck with same problem.
    Is it like that i dont have authorization to creat any local formula.
    plz suggest me in this regard
    Regards
    SK

Maybe you are looking for