Function which converts number 1 to √

Hello people,
I recently started Numbers  and I'm in the process of creating a spreadshit to organice various important data concerning my music compositions. I've been trying the following for some days now without any success and I would really apreciate your help!
What I'm trying to do is to set a cell function so whenever I fill in a cell with the number "1" the actually number to be converted to symbol "√" and fill the cell with a particular color.
It might be stupidly easy but I have absolutely no knowledge on functions etc etc.
I have a cell with these characteristics and I know I can simple copy paste the cell to whenever I want but it's a bit more time conciuming and plus I want to learn more on functions
Thank you very much in advance!

Jerrold thank you, although to be honest I didn't much understand your solution. I have set a rule that says when "√" highlight with green. There are plenty work-arounds that are the solution to my "problem" but I was just wondering if Numbers was capable of excecuting such a task, and being able to just put the number "1" into a cell and Numbers to transform it to a "√" in a green filled cell - Wayne this is to answer to your question.
What about the function REPLACE? Might this excecute a simular task? Like replace "1" with "√"?
Thanks both of you btw for your time and help!

Similar Messages

  • Function module which convert number to days to date

    Hi,
    Any one knows any function module which convert total number of days into date.
    thnaks,
    shilpa k

    Hi,
        FIMA_DAYS_AND_MONTHS_AND_YEARS
    FI_PSO_DAYS_MONTHS_YEARS_GET
    RSSM_CONVERT_DAYSEC2TIMESTAMP
    RSSM_CONVERT_TIMESTAMP2DAYSEC
    Function Modules related to Date and Time Calculations
    DATE_COMPUTE_DAY : Returns weekday for a date
    DATE_GET_WEEK : Returns week for a date
    DAY_ATTRIBUTES_GET : Returns attributes for a range of dates specified
    MONTHS_BETWEEN_TWO_DATES : To get the number of months between the two dates.
    END_OF_MONTH_DETERMINE_2 : Determines the End of a Month.
    HR_HK_DIFF_BT_2_DATES : Find the difference between two dates in years, months and days.
    FIMA_DAYS_AND_MONTHS_AND_YEARS : Find the difference between two dates in years, months and days.
    MONTH_NAMES_GET : Get the names of the month
    WEEK_GET_FIRST_DAY : Get the first day of the week
    HRGPBS_HESA_DATE_FORMAT : Format the date in dd/mm/yyyy format
    SD_CALC_DURATION_FROM_DATETIME : Find the difference between two date/time and report the difference in hours
    L_MC_TIME_DIFFERENCE : Find the time difference between two date/time
    HR_99S_INTERVAL_BETWEEN_DATES : Difference between two dates in days, weeks, months
    LAST_DAY_OF_MONTHS : Returns the last day of the month
    Regards

  • Function to convert number to word format.

    Dear Friends,
    Could you please help me with a code that will take 'sum of all values of a column' as input parameter & return its value in word format.
    Number can be negative , it can/can't contain digits after decimal.
    i have two ways but it won't work when my no. becomes negative
    Moreover i want that it should work on both type of data, numbers without decimal & number with decimal.
    that is what i possess:
    1)
    function CF_1FORMULA return char is
    num1 number;
    p_number number;
    type myArray is table of varchar2(255);
    l_str myArray := myArray( '',
    ' thousand ', ' million ',
    ' billion ', ' trillion ',
    ' quadrillion ', ' quintillion ',
    ' sextillion ', ' septillion ',
    ' octillion ', ' nonillion ',
    ' decillion ', ' undecillion ',
    ' duodecillion ' );
    l_num varchar2(50);
    l_return varchar2(4000);
    begin
    num1:=:my_mumber;
         p_number:=num1;
         l_num:=trunc( p_number );
    for i in 1 .. l_str.count
    loop
    exit when l_num is null;
    if ( to_number(substr(l_num, length(l_num)-2, 3)) <> 0 )
    then
    l_return := to_char(
    to_date(
    substr(l_num, length(l_num)-2, 3),
    'J' ),
    'Jsp' ) || l_str(i) || l_return||'Rupees';
    end if;
    l_num := substr( l_num, 1, length(l_num)-3 );
    end loop;
    return l_return;
    end;
    and
    2)
    select to_char(to_date(floor(1234.99),'J'),'Jsp')||' Rupees and '||to_char(to_date((1234.99-(floor(1234.99)))*100,'J'),'Jsp')||' Paise' from dual;
    kindly help me.
    Thanks & Regards
    Vishnu

    Common question.
    But you will have realised that already if you'd bothered to search the forum...
    http://forums.oracle.com/forums/search.jspa?threadID=&q=number+to+word&objID=f75&dateRange=all&userID=&numResults=30

  • Function to convert string to number

    Hi there,
    I wrote a function which converted a hor minute component of a date to a number. Now I need to do the same with a string (because the hours could be more then 23:95). Anyway here is my function. How can I rewrite it so it will accept a string as in parameter. Somwhow I can not work it out. Thanks a lot.
    Chris
    function calculate_hours_project(in_hours in DATE)
    RETURN number
    AS
    hrs CHAR(2);
    mins CHAR(2);
         BEGIN
              hrs := to_char(in_day, 'HH24');
              mins := to_char(in_day, 'MI');
              if hrs is not null and mins is not null then
              RETURN to_number(hrs + (mins/60));
              else
              RETURN 0;
              end if;
    END calculate_hours_project;

    Wouldn't it just be something like this?
    sql>create or replace function calculate_hours_project(in_hours in varchar2)
      2  return number
      3  is
      4  begin
      5    return to_number(substr(in_hours, 1, instr(in_hours, ':') - 1)) +
      6           to_number(substr(in_hours, instr(in_hours, ':') + 1) / 60);
      7  end calculate_hours_project;
      8  /
    Function created.
    sql>select calculate_hours_project('08:05') from dual;
    CALCULATE_HOURS_PROJECT('08:05')
                           8.0833333
    1 row selected.
    sql>select calculate_hours_project('35:34') from dual;
    CALCULATE_HOURS_PROJECT('35:34')
                           35.566667
    1 row selected.

  • Need xsl function which will convert 100 = One Hundred.

    Hi
    i have to print the number as a text .
    EX:100=Hundred
    In one of the Vetsrini reply i seen this
    ""we have xsl function which will convert 100 => One Hundred.
    If anybody interested to use this function, let me know.
    i will post that in my blog in sometime.""
    Convert Number into words in RTF
    Thanks,
    Ananth.v

    <?xdoxslt:toWordsAmt(100)?>http://winrichman.blogspot.com/2008/08/convert-number-into-amount-in-words.html
    Convert Number into words in RTF

  • Function module for converting number to exponential???

    Hi All
      please tell me Function module for converting number to exponential.
    Deepak

    try:
    REPORT Zconvertf.
    parameters p1 type p decimals 2 default '4711.99'.
    data f1 type f.
    move p1 to f1.
    write: / p1, f1.
    hope that helps
    Andreas

  • Function module which generates number in sequence

    Hi All
    Is there any FM which generates number in a sequence. I am creating a bank file using DMEE. Now for detail records it should create a number say starting with 001, 002. 003....
    now every  time the bank file is created it should work in this way.
    Any help would be higly appreciated.
    C

    Hello
    1. Create interval: http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=50004015
    2. Use FM NUMBER_GET_NEXT: Re: how to create a number interval for a zprogram

  • How to convert number field into time

    Hi
    I have made a form for storing of private dialed calls from different extensions. To store call duration i have assigned a number field which is storing following type of data
    1.34
    1.19
    37.29
    1.47
    In above mentioned data decimals are seconds and left side is minutes.
    Now the requirement is that if second is > 30 then 1 minute should be added in minutes else 30 seconds should appear instead of original seconds.
    Please Help!

    >
    To store call duration i have assigned a number field which is storing following type of data
    In above mentioned data decimals are seconds and left side is minutes.
    >
    Please provide info about the form in which you RECEIVE the data. Do you receive the data in MM.SS format like you say you are storing it?
    If not, why are you storing it this way?
    Unless you have some reason to STORE the data differently just store it the way you got it. That way you won't lose any precision and you can manipulate it any way you need to for display purposes.
    If you receive START_TIME and END_TIME then store both of those. Don't calculate and store duration; you will lose END_TIME and if you later need to calculate duration to a different precision you won't be able to.
    Where is the data being stored? Oracle?
    Write a simple function to convert a duration to minutes and seconds using the '>30' rule you have. Then if the rule changes you can write a new function or modify the existing one and the data itself doesn't have to change.

  • Pipelined function which creates xml nodes,items and elements

    Hi Everyone,
    I am Vikas Kumar and i have written a pipelined function
    which is returning a UDT which i have created in my database.
    but when i am piping a row then there is error :
    "Error: PLS-00306: wrong number or types of arguments in call to 'CLASEC_MENU_TYPE' "
    i have created UDT as :
    create type clasec_menu_type as object (menu_data xmltype);
    create type clasec_menu_list_type as table of clasec_menu_type;
    and function is as below
    create or replace function clasec_fns_menu
    return clasec_menu_list_type pipelined as
    doc xmldom.DOMDocument;
    main_node xmldom.DOMNode;
    root_node xmldom.DOMNode;
    user_node xmldom.DOMNode;
    item_node xmldom.DOMNode;
    root_elmt xmldom.DOMElement;
    item_elmt xmldom.DOMElement;
    item_text xmldom.DOMText;
    CURSOR get_menu IS
    SELECT menu_level,
    is_menu_a_leaf,
    menu_id,
    menu_name,
    menu_screen_uri,
    screen_target_frame,
    rownum
    FROM clasec_menu_view1;
    BEGIN
    doc := xmldom.newDOMDocument;
    main_node := xmldom.makeNode(doc);
    root_elmt := xmldom.createElement(
    doc,
    'Menubar'
    root_node := xmldom.appendChild(
    main_node,
    xmldom.makeNode(root_elmt)
    pipe row (clasec_menu_type(root_node));
    FOR get_menu_rec IN get_menu LOOP
    if get_menu_rec.menu_level = 1 then
    item_elmt := xmldom.createElement(
    doc,
    'menu'
    xmldom.setAttribute(
    item_elmt,
    'text',
    get_menu_rec.menu_name
    user_node := xmldom.appendChild(
    root_node,
    xmldom.makeNode(item_elmt)
    pipe row(user_node);
    end loop;
    end;
    compilation error is at the statement
    pipe row (clasec_menu_type(root_node));
    i think its conversion error but don,t know how can i convert root_node which has been defined with :
    root_node xmldom.DOMNode;
    Regards,
    Vikas Kumar

    Hi,
    Your type, clasec_menu_type, needs an argument of type XMLType. If you want to create instance of XMLType, you have to pass it varchar2, clob or XMLType.
    So, think how will you convert xmldom.DOMNode to XMLtype or Varchar2 or clob.
    Best of luck

  • A function to give number in numeric to number in English

    Dear Oracle experts
    I just wondering is there any in-built SQL or PL/SQL function which enable me to covert a numeric number like '1' to 'one', '14' to 'Fourteen',
    '13 to 'thirteen',
    '113,200.00' to 'one hundred and thirteen thousand two hundred'. ..etc....
    many many many thanks in advance
    Ivan

    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:1407603857650
    Cheers
    Sarma.

  • How to convert number datatype to raw datatype for use in data warehouse?

    I am picking up the work of another grad student who assembled the initial data for a data warehouse, mapped out a dimensional dw and then created then initial fact and dimension tables. I am using oracle enterprise 11gR2. The student was new to oracle and used datatypes of NUMBER (without a length - defaulting to number(38) for dimension keys. The dw has 1 fact table and about 20 dimension tables at this point.
    Before refining the dw further, I have to translate all these dimension tables and convert all columns of Number and Number(n) (where n=1-38) to raw datatype with a length. The goal is to compact the size of the dw database significantly. With only a few exceptions every number column is a dimension key or attribute.
    The entire dw db is now sitting in a datapump dmp file. this has to be imported to the db instance and then somehow converted so all occurrences of a number datatype into raw datatypes. BTW, there are other datatypes present such as varchar2 and date.
    I discovered that datapump cannot convert number to raw in an import or export, so the instance tables once loaded using impdp will be the starting point.
    I found there is a utl_raw package delivered with oracle to facilitate using the raw datatype. This has a numbertoraw function. Never used it and am unsure how to incorporate this in the table conversions. I also hope to use OWB capabilities at some point but I have never used it and only know that it has a lot of analytical capabilities. As a preliminary step I have done partial imports and determined the max length of every number column so I can alter the present schema number columns tp be an apporpriate max length for each column in each table.
    Right now I am not sure what the next step is. Any suggestions for the data conversion steps would be appreciated.

    Hi there,
    The post about "Convert Numbers" might help in your case. You might also interested in "Anydata cast" or transformations.
    Thanks,

  • How to create FrameMaker glossary entries which convert properly to RoboHelp HTML 8?

    I have been having a challenging time creating FrameMaker 9 glossary
    entries which convert properly into RoboHelp HTML 8. Here is the process I'm doing, and perhaps someone call tell me what I'm doing wrong.
    1.) In the FrameMaker document, I highlight a word or phrase which serves as the "glossary term" to be defined.
    2.) I open the Marker dialog box, select the Glossary option, then enter the "glossary definition" for the highlighted "glossary term." I commit the entry.
    3.) In the FrameMaker Book file, I create a new "Index of Markers" (IOM) of "Glossary" type. Upon generation of the IOM, my FrameMaker output is much like a standard index: There are letter delimiters ("A," "B," C," etc.), and under each is the "glossary definition," then a page number where the "glossary term" is.
    4.) Now I go to RoboHelp HTML 8 and update the document there. The glossary displays such that the "glossary term" is the entire paragraph in which the marker had been placed in the FrameMaker source file. The "glossary definition" is displayed properly (the text I placed into the Marker dialog box.
    So, how am I to create auto-generating glossaries? This implies that I need to create a manual glossary whereby the "glossary term" is in a paragraph by itself (much like a printed glossary would look). Furthermore, I would need to add this manual glossary as a file in the FrameMaker Book file for RoboHelp 8 to detect and pull the entries.
    Surely this isn't as how it was designed. I suspect I'm doing something wrong in how I create glossary entries or create the file in the FrameMaker Book file.
    Could someone offer some assistance?
    Thank you very much in advance!
    Most sincerely,
    Sammy Spencer

    It's because you're doing your markers backwards. The text inside your Glossary marker should be the term. The paragraph your marker is inside is the definition.
    I should say, rather, that Robohelp does it backwards, because when I think of glossary terms and definitions, I think there should be a way to highlight a word and provide the definition in the hidden marker, not hide the term inside the marker.
    I am still figuring out how to make a glossary in my Framemaker file that will work with my Robohelp file, and not have Robohelp generate a separate content file for the glossary file. I think I'll get it, though. Eventually.

  • Partner Function as Personnel Number

    Hi All,
    I need to use the same functionality as of Business Partners tab of VA03 in my custom transaction.
    When the Partner function is customer , then using the partner number we can navigate to KNA1 and can fetch customer name, address number.
    in the same way, if partner function is vendor , we can use LFA1 to find out name and addr number.
    If the partner function is Personnel number , which table can be used to find out the detials like name of the personnel number and address number.
    Is there any table for this or any procedure? Please let me know.
    thanks,
    lakshmi.

    Check out A951, VBPA and PA0105.

  • Pl/sql function replying invalid number error

    Hi,
    I don't know if it's the late hour or I'm just missing something...
    I wrote a very simple function which is compiling, but returning ORA error 017222 - nvalid number, every time it's executed...
    Please let me know what am I missing...
    Thanks!
    create or replace
    FUNCTION GAMES(
    MINUTE_PLAYED IN NUMBER,
    HOME_GOALS IN NUMBER,
    AWAY_GOALS IN NUMBER)
    RETURN NUMBER IS
    HOME VARCHAR2(100);
    AWAY VARCHAR2(100);
    RELEVANT_GAMES NUMBER;
    BEGIN
    HOME := 'MIN' || MINUTE_PLAYED || 'HOME';
    AWAY := 'MIN' || MINUTE_PLAYED || 'AWAY';
    SELECT COUNT(*) INTO RELEVANT_GAMES
    FROM FINISHED_GAMES
    WHERE HOME = HOME_GOALS AND AWAY = AWAY_GOALS;
    RETURN RELEVANT_GAMES;
    EXCEPTION
    WHEN OTHERS THEN
    raise_application_error(-20001,'An error was encountered - '||SQLCODE||' -ERROR- '||SQLERRM);
    END GAMES;

    869206 wrote:
    Hi,
    I don't know if it's the late hour or I'm just missing something...
    I wrote a very simple function which is compiling, but returning ORA error 017222 - nvalid number, every time it's executed...
    Please let me know what am I missing...
    Thanks!
    create or replace
    FUNCTION GAMES(
    MINUTE_PLAYED IN NUMBER,
    HOME_GOALS IN NUMBER,
    AWAY_GOALS IN NUMBER)
    RETURN NUMBER IS
    HOME VARCHAR2(100);
    AWAY VARCHAR2(100);
    RELEVANT_GAMES NUMBER;
    BEGIN
    HOME := 'MIN' || MINUTE_PLAYED || 'HOME';
    AWAY := 'MIN' || MINUTE_PLAYED || 'AWAY';
    SELECT COUNT(*) INTO RELEVANT_GAMES
    FROM FINISHED_GAMES
    WHERE HOME = HOME_GOALS AND AWAY = AWAY_GOALS;
    RETURN RELEVANT_GAMES;
    EXCEPTION
    WHEN OTHERS THEN
    raise_application_error(-20001,'An error was encountered - '||SQLCODE||' -ERROR- '||SQLERRM);
    END GAMES;eliminate EXCEPTION handler!
    do NOT rely on implicit datatype conversion
    use TO_CHAR or TO_NUMBER as needed.
    HOME & HOME_GOALS are different datatype

  • Function module converts sy-datum to date according to user settings in SAP

    Hi experts,
    I need such a function module which converts sy-datum to a date format
    according to user settings in SAP.
    Thanks,
    Yogesh

    Use these function modules.
    CONVERSION_EXIT_PDATE_OUTPUT
    CONVERT_DATE_TO_EXTERNAL
    Please mark points if the solution was useful.
    Regards,
    Manoj

Maybe you are looking for