How do I make a cell equal a certain degree of a 360° zodiac point?

I need to make a cell equal a certain degree on a 360° zodiac point when typing a number from 0-359. For example, if I would put in the number "10" in a cell it would give me "10 Aries" as a result in the cell. Doing 360 "if, then" statements is not desirable, and I don't think it is possible in Numbers. Usually spreadsheet programs have a limit on the number of "if, then" statements that can be "nested" in a cell. One friend recommended "concatenating," but this sort of makes my head spin at the moment. Any help would be appreciated. Below are some "if, then" statements that I put into Microsoft Excel before it said I could not put in anymore.
=IF(OR(D1=0),"0 Aries",IF(OR(D1=1),"1 Aries",IF(OR(D1=2),"2 Aries",IF(OR(D1=3),"3 Aries",IF(OR(D1=4),"4 Aries",IF(OR(D1=5),"5 Aries",IF(OR(D1=6),"6 Aries",IF(OR(D1=7),"7 Aries",IF(OR(D1=8),"8 Aries",IF(OR(D1=9),"9 Aries",IF(OR(D1=10),"10 Aries",IF(OR(D1=11),"11 Aries",IF(OR(D1=12),"12 Aries",IF(OR(D1=13),"13 Aries",IF(OR(D1=14),"14 Aries",IF(OR(D1=15),"15 Aries",IF(OR(D1=16),"16 Aries",IF(OR(D1=17),"17 Aries",IF(OR(D1=18),"18 Aries",IF(OR(D1=19),"19 Aries",IF(OR(D1=20),"20 Aries",IF(OR(D1=21),"21 Aries",IF(OR(D1=22),"22 Aries",IF(OR(D1=23),"23 Aries",IF(OR(D1=24),"24 Aries",IF(OR(D1=25),"25 Aries",IF(OR(D1=26),"26 Aries",IF(OR(D1=27),"27 Aries",IF(OR(D1=28),"28 Aries",IF(OR(D1=29),"29 Aries",IF(OR(D1=29),"29 Aries",IF(OR(D1=30),"0 Taurus",IF(OR(D1=31),"1 Taurus",IF(OR(D1=32),"2 Taurus",IF(OR(D1=33),"3 Taurus",IF(OR(D1=34),"4 Taurus",IF(OR(D1=35),"5 Taurus",IF(OR(D1=36),"6 Taurus",IF(OR(D1=37),"7 Taurus",IF(OR(D1=38),"8 Taurus",IF(OR(D1=39),"9 Taurus",IF(OR(D1=40),"10 Taurus",IF(OR(D1=41),"11 Taurus",IF(OR(D1=42),"12 Taurus",IF(OR(D1=43),"13 Taurus",IF(OR(D1=44),"14 Taurus",IF(OR(D1=45),"15 Taurus",IF(OR(D1=46),"16 Taurus",IF(OR(D1=47),"17 Taurus",IF(OR(D1=48),"18 Taurus",IF(OR(D1=49),"19 Taurus",IF(OR(D1=50),"20 Taurus",IF(OR(D1=51),"21 Taurus",IF(OR(D1=52),"22 Taurus",IF(OR(D1=53),"23 Taurus",IF(OR(D1=54),"24 Taurus",IF(OR(D1=55),"25 Taurus",IF(OR(D1=56),"26 Taurus",IF(OR(D1=57),"27 Taurus",IF(OR(D1=58),"28 Taurus",IF(OR(D1=59),"29 Taurus",IF(OR(D1=60),"0 Gemini",IF(OR(D1=61),"1 Gemini",IF(OR(D1=62),"2 Gemini"))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))

Hi Mike,
The first thing I noticed in your formula was the multiple OR() statements with a single argument.
=IF(OR(D1=0),"0 Aries"
OR(condition1,condition2,...) returns TRUE if any of the arguments is TRUE. With only one condition, it returns TRUE if D1=0 and FALSE if D1 contains any value except 0. The bare boolean statement D1=1 returns the same results with the same conditions.
Although it's not too difficult to improve the efficiency of the formula, I would drop IF and use a little bit of math and the CHOOSE function (plus some concatenation) for what you want:
From your formula, I gather each of the houses occupies a 30° sector, starting at 0, 30, 60, 90, etc. with "0 housename" at each of those values.
To simplify the formulas I've done the calculations in three steps:
A value in the range 0 to 359 is entered in D2.
E2 is an intermediate cell that calculates the Quotient of that value divided by 30, then adds 1 to the result.
=QUOTIENT(D2,30)+1
This gives an index number that tells which house (1=Aries, 2=Taurus, 3=Gemini, etc.) that Zodiac point lies in.
F2 is a second intermediate cell that calculates the remainder of the value in D2 divided by 30, the number appended before the name of the house.
=MOD(D2,30)
G2 choses the name by its position in a list of choices, basing the choice on the index number calculated in E2, then concatenates the number calculated in F2, a single space, and the name returned by CHOOSE into a single text string and returns that string to the cell.
=F2&" "&CHOOSE(QUOTIENT(D2,30)+1,"Aries","Taurus","Gemini","3","4","5","6","7","8","9 ","10","11","12")
To save space,here (and to avoid having to look up the rest of the Zodiac signs and their order ), I've used numbers in place of the rest of the names.
The separate parts may be combined into a single formula:
=MOD(D2,30)&" "&CHOOSE(E2,"Aries","Taurus","Gemini","3","4","5","6","7","8","9","10","11","")
For details (and further examples) see the descriptions of each of these functions in the iWork Formulas and Functions User Guide. The guide, and the equally useful Numbers '09 User Guide, may be downloaded using the Application menu (in Numbers, the "Numbers" menu) items with those names.
Regards,
Barry

Similar Messages

  • How do I make a cell larger vertically?

    I have numbers on my iPad and need to make some cells larger both horizontal and vertical.  Does anyone know how to do this?

    Hi avallone24,
    On the iPad it looks like this:
    You need to tap out on the edges of the table and then drag where you see the two little white lines in the blue.
    I don't think there is a Row & Column Size panel anywhere in the Numbers iOS interface so it's less precise than on the Mac.
    SG

  • How can I make one cell search multiple other cells for a string of text and return whether or not the string appeared in the cells searched?

    https://www.icloud.com/iw/#numbers/BAI31boMQXsGKc8NH22BlqWRzbs8PdgWBs-F/2014-15_ Curriculum_Planning_w_CCSS_(Web_Shared)
    My document is above, if anyone wants to help this crazy teacher invent a better lesson planner.
    Here's my predicament.  The state in which I teach requires teachers to keep up with which of the Common Core State Standards (CCSS) their instruction is addressing and when the standards were addressed.  I got the bright idea to do this through a spreadsheet in Numbers because our school is getting iPads this year, so it'd be pretty sweet to be able to assemble all of my lesson plans in one massive spreadsheet.  On the "AP Lesson Plans" sheet, I've got a few weeks worth of lesson plans entered in.  I'm planning on going in and using the drop-down menu next to each lesson plan to add all the CCSS on a per-day basis.  This is simple enough, but here's where I run into a problem.
    I want the "AP Standards" sheet to concatenate, in cells D3 through G76, the dates on which a standard was covered.  What I need is some way for, say, Cell D3 to look at the table on the "AP Lesson Plans" sheet and concatenate the dates of every lesson which has the standard in column A (In this instance, RL.11-12.1).  At the end of the day, the functionality I need is that I can enter my lessons and CCSS on the "AP Lesson Plans" sheet and go to the other sheet and see a summary of which standards have been addressed, when, and how often.
    If that's as clear as mud, well, I teach literature, not technical writing, so my apologies.  I'm more at home with Jonathan Swift than spreadsheets.  I'll gladly help you help me if you'd let me know what you need to know.  Oh, and to illustrate my knowledge level (just enough to be dangerous), I've left you the formula of my best stab at making cell D3 behave as desired.  It's the gray box on the "AP Standards" sheet.  Yikes.

    Hi Arrdenet,
    Congratulations on the nested IFs. I haven't tested that formula, but it is impressive. It will be very difficult to debug if it doesn't work, and I think it would make Numbers very slow.
    Here is a different approach. After you enter all the CCSS, add another column with HLOOKUP.
    Edit:
    B2 (and Fill Down)
    A2 (and Fill Down)
    =IFERROR(HLOOKUP(A$1,C2:E2,1,0),"")
    HLOOKUP looks for the value in A1 in all the CCSS columns.
    IFERROR is to stop the error triangles appearing and returns "" (NULL) instead.
    Then sort by column A.
    Not a complete answer, but it might get you started.
    Regards,
    Ian.

  • In Numbers, how can I make a cell reference a constant in a formula?

    This is a basic question, but I am not sure of the answer. I am trying to calculate a previous SUM that I have by a column. But when I calculate it, it keeps looking for data in the cells after the SUM that I already have.
    In other words, how can I get a constant cells value into my equation?
    Any help would be great!
    (In excel, I could do it just by placing $ around my cell field. Like H23 would be $H23$. THanks!)

    JJ,
    Numbers works exactly like Excel in this regard. To change H23 from a reference that will change if the formula is moved to a fixed cell reference, make it $H$23.
    Regards,
    Jerry

  • How can i make a cell set a timestamp when I click a checkbox in numbers for iPad?

    I am trying to make it so that when I click a checkbox, the cell next to it creates a timestamp.  I have very put of practice making spreadsheets, and this new format is giving me a hard time.
    Thanks for your help!

    Under the previous version of Numbers for iOS at least, you could use the loophole/bug in the IF statement that would execute on TRUE, but do nothing if FALSE, if you didn't explicitly set it. This would allow the spreadsheet to have a sense of before and after that would allow for all sorts of time stamping possibilities. In fact, I wrote an entire complex spreadsheet based on this loophole. It worked great!  But I was also aware that Apple would likely close this loophole to make the IF statement conform to their documentation, and sure enough, they did, and now my spreadsheet is utterly useless.
    Maybe I'm just stupid, but with this latest update, I don't see any way to hold a static time stamp. I thought it would be doable by some contorted means, but after several hours, I still haven't come up with anything. Pity, too, because it was quite useful.
    Would someone please tell me how stupid I am.

  • How do I make a cell reference the condition in a COUNTIF statement?

    I have a formula:
    =COUNTIF(Funds Under Management by Client :: D2:D91,">3.0")
    However, I want to replace the condition '3.0' with a reference to another cell eg B2 so that I can play around with different values and have them immediately reflected in the COUNTIF total. Problem is, I can't find the right syntax to achieve this. I want the formula to actually look something like this:
    =COUNTIF(Funds Under Management by Client :: D2:D91,">B2")
    Is this possible, and if so, how do I do it? Making the formula refer to a cell saves me from having to manually change 90 odd cells in the spreadsheet every time I want to vary the criteria.
    TIA
    Message was edited by: Basilisk

    Fantastic! That worked great. Many thanks for your help. Simple when you know how!
    Message was edited by: Basilisk

  • How do you make the velocity equal for a bunch of different notes?

    Whenever I adjust a bunch of notes with the velocity tool, if they started out w/ different velocities i can never get them to the same velocity. How do you change the velocity of diff. velocity notes to the same velocity all at once?

    You can do this easily in the inspector. Make sure the midi region you want to work with is the only thing selected in the arrange window. Then in the inspector set the dynamics to 'fixed', which will make all notes play at exactly the same velocity. Then using the velocity setting right above it, you can set precisely what this fixed velocity value should be for all notes. This is a non-destructive procedure, if you want to permanently apply these changes, use 'normalize region parameters' from the midi submenu in the arrange window once you've got it sounding how you want it. This will reset the parameters in the inspector back to zero so you can make further adjustments if you want, but all the settings you made will be written directly to the midi data. When you then open the piano roll, you'll see that all your velocities are identical.

  • When I go up to "file-edit-view etc and I put cursor over it the word it's pointing to disappears. How can I make it stop. I need to see what I'm pointing at!!

    I'm using Windows XP and this issue just started this morning. For some reason my firefox crashed. I got everything fixed but now when I go the the top where it has "File Edit View History etc" and I put the cursor over it the word blanks out. It never used to do this and I can't work with it like this. I prefer Firefox over any other web browser. Please tell me how to change the settings so the word stays there when the cursor highlights it and doesn't disappear. Thank you.

    Did you already reboot the computer?
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • How do I make form or table where certain numbers update according to a formula when the user enters one number?

    Hi, I am an amature website designer and have made a website
    using dreamweaver. I am very lost when it comes to doing tougher
    things in dreamweaver. I want to create a small form or a table
    where there will be 7 or so numbers that are generated based on
    simple formulas for each one once you enter one number. Can someone
    please help me with this task whether it is in dreamweaver or even
    making it out of flash or anyway that this would be the easiest to
    make possible. Thanks

    Here's a very simple form you could use to perform a
    calculation, it this case, squares the input value and writes it
    back to another input field... Hopefully you can use this as a
    pattern to apply your own algorithm. You'll need to do validation
    to assure the entered fields are appropriate for the calculation
    (required fields are entered).
    Hope this gets you started.
    ================================================
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
    Transitional//EN" "
    http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="
    http://www.w3.org/1999/xhtml">
    <head>
    <meta content="text/html; charset=utf-8"
    http-equiv="Content-Type" />
    <script type="text/javascript">
    function squareit() {
    var num = document.getElementById('myinput');
    var res = document.getElementById('myresults');
    res.value = Math.pow(parseFloat(num.value), 2);
    </script>
    </head>
    <body>
    <form id="myform">
    <label for="myinput">Number: </label><input
    id="myinput"><br/>
    <label for="myresults">Result: </label><input
    id="myresults"><br/>
    <input type="button" value="Calculate"
    onclick="squareit()"/>
    </form>
    </body>
    </html>

  • How do I make a 3D QuickTime Movie from Vacation photos in 360 degrees?

    Is there any software that easily takes a bunch of photos and makes them into a 3D QuickTime movie?
    Way back in 1997 there was a QTVR Authoring Suite that does such a thing.
    Here is an example of what I am trying to create:
    http://www.mayoclinic.org/virtual-tours/mn-360s.html
    http://www.apple.com/quicktime/technologies/qtvr/
    I have searched the web awhile but I am not getting anything pop up that is easy.
    Thanks

    If you plan to do this regularly, VRWorx is probably your best option. If you want to create "cubic" movies (i.e. where you can look straight up and straight down), you'll want to confirm that VRWorx can create them. I believe it can, but I'm not certain.
    If you don't want to pay that much for a tool, Apple provided some free tools at one time, but they're pretty old now. They might still work for you, though.
    http://developer.apple.com/quicktime/quicktimeintro/tools/
    You'll need to register for a free "Online Developer" account to get them:
    http://developer.apple.com/products/membership.html

  • How to make a cell in a JTable to be uneditable and handle events

    I tried many things but failed,How do you make a cell in a JTable to be uneditable and also be able to handle events>Anyone who knows this please help.Thanx

    Hello Klaas2001
    You can add KeyListener ,MouseListener
    Suppose you have set the value of cell using setValueAt()
    table.addKeyListener(this);
    public void keyTyped(KeyEvent src)
    String val="";
    int r= table.getEditingRow();
    int c= table.getEditingColumn();
    val=table.getValueAt(r,c).toString();
    if (r!=-1 && c!=-1)
    TableCellEditor tableCellEditor = table.getCellEditor(r, c);
    tableCellEditor.stopCellEditing();
    table.clearSelection();
    table.setValueAt(val,r,c);
    public void keyReleased(KeyEvent src)
    public void keyPressed(KeyEvent src)
    table.addMouseListener(this);
    public void mouseClicked(MouseEvent e)
    public void mouseEntered(MouseEvent e)
    public void mouseExited(MouseEvent e)
    public void mousePressed(MouseEvent e)
    public void mouseReleased(MouseEvent e)
    if(e.getClickCount()>=2)//Double Click
    table.clearSelection();
    int r= table.getEditingRow();
    int c= table.getEditingColumn();
    if (r!=-1 && c!=-1)
    TableCellEditor tableCellEditor = table.getCellEditor (
    r,c);
    tableCellEditor.stopCellEditing();
    table.clearSelection();
    table.setValueAt("",r,c);
    }//Mouse Released
    You can remove keyListener and Mouse Listener whenever You want to edit
    then add it later.
    Regarding handling events implement javax.swing.event.TableModelListener
    table.getModel().addTableModelListener(this);
    public void tableChanged(javax.swing.event.TableModelEvent source)
    TableModel tabMod = (TableModel)source.getSource();
         switch (source.getType())
    case TableModelEvent.UPDATE:
         break;
         }//Table Changed Method
    //This method gets fired after table cell value is changed.

  • How the do I make the cells deeper or taller

    How do I make the cells deeper or taller in numbers?

    Click and hold on the vertical or horizontal lines the separate cells in the row or column headers after the cursor changes to a bar with a double ended arrow:
    use the row headers to change the height of a cell and the column headers to change the width of a column.
    You can also adjust the width and height of a cell by using the cells inspector by selecting the menu item "View > Show Inspector", then clicking the cell inspector.:
    You can also get this an other valuable information from Users' Guide which you can download for free:
    http://support.apple.com/manuals/#iwork
    See Chapter 3, page 49

  • How do you make a spreadsheet or cells secure and private?

    In using numbers, I want to make a spreadsheet secure (limited access). How do you do this ..... Or how do you make the cells within it secure?

    Password protect the file (although there's some doubt as to the strength of that protection).
    save the file to an encrypted Disk Image. See Mac Help in the Finder's Help menu for details.
    There's no way to fully protect the cells of an open document. Numbers provides for locking "objects," but cells themselves are not objects. Tables are, objects, so you can lock a complete table. That prevents changes to the table until it is unlocked, but does not prevent changes to other tables in the document, nor does it prevent any used from unlocking the table then editing it.
    Jerry has offered a technique which may be used to guard against inadvertent changes to individual cells. You can read it in his responses in Hold Table Position in a Sheet.
    Regards,
    Barry

  • Make a Cell Multi-Line

    How Do I make a cell in a Spry data grid multiline, e.g.,
    more than one date or location??
    Please help!

    You have a couple of options. One is to create a filter that
    inserts br tags between the dates:
    function MyDateFilter(ds, row, rowIndex)
    // Replace spaces in the date column with a <br> tag.
    row.date = row.date.replace(/\s+/g, "<br />");
    return row;
    var ds = new Spry.Data.XMLDataSet(...);
    ds.filterData(MyDateFilter);
    Or, you can use the date XML you proposed above and look into
    using nested data sets:
    http://labs.adobe.com/technologies/spry/samples/data_region/NestedXMLDataSample.html#Using NestedDataSets
    --== Kin ==--

  • How can I make a table cell extend beyond the page?  The text disappears when the cell becomes larger than the page.

    How can I make a table cell extend beyond a page?  The text disappears when the cell becomes bigger than the page.  I want the table to continue to the next page.

    As a student, you might be able to get Office for Mac from the college bookstore at a substantial discount. Otherwise, I think your best option for documents that need to be shared with Office users is to get one of the free Office clones such as LibreOffice.

Maybe you are looking for

  • The list of workflow actions on the server references an assembly that does not exist

    Hi, This issue has been discussed many times in this forum , the reason why I am posting is I tried the resolution steps but I dont see any luck. I am getting the below message from the SharePoint designer 2007 when I am trying to modify a workflow "

  • The System.keychain Conundrum:  THE REAL SOLUTION.

    Symptom: After applying an update or some kind of instance where a shutdown occurred, upon rebooting, Mac OS X will demand a password for System.keychain. No password will ever work, not even root. I had this happen to me and no one anywhere seemed t

  • What's a good cross-platform choice?

    Hey, I use LE and GB, but I would like to have any suggestions about a good cross-platform program that I could use to do some collaborations with a friend who is stuck with a Windows-based system for now. Anyone?

  • Where did Ink preference pane go?

    I connected a tablet (Adesso CyberTable 12000) to my OS X Tiger and a new preference pane called Ink appeared and the tablet was auto-detected and worked fine as a mouse (absolute mode). Then I made the mistake of installing Adesso OS X drivers. Thes

  • How to use Tor/Privoxy with pacman?

    Hello: Just wondering if that is possible, and how. When doing "pacman X" and checking the "netstat" I see my IP listed. Is there a way to use pacman through TOR, or, in a more general way, that each out connection goes through TOR -IM clients, actua