Hi. Please see the attached. I am trying to calculate the frequency of the occurances of the data within the main table but its just not working?
Hi. Please see the attached. I am trying to calculate the frequency of the occurances of the data within the main table but its just not working?
For some reason the results in the column below the formula are increasing and this is not right. I want the number of occurrences of the figure in the adjacent column I know that 46 occurs twice but the result of the formula is 0 I know that 69 doesn't occur 92 times but this is the result....
Will you please attach a sample Excel workbook? We are not able to work with or manipulate a picture of one.
1. Make sure that your sample data are REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.
2. Make sure that your desired solution is also shown (mock up the results manually).
3. Make sure that all confidential data is removed or replaced with dummy data first (e.g. names, addresses, E-mails, etc.).
4. Try to avoid using merged cells as they cause lots of problems.
Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
Please pay particular attention to point 2 (above): without an idea of your intended outcomes, it is often very difficult to offer appropriate advice.
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.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
It is difficult to debug from a picture.
What you describe does not seem consistent with my own use of the FREQUENCY() function. A couple of tests suggests that maybe this is because you have not entered the function correctly. The FREQUENCY() function is intended to be entered as an array function (confirmed with ctrl-shift-enter similar to LINEST(), TRANSPOSE(), MMULT(), etc) over a range of cells (W3:W27, if I read your picture correctly). I see similar behavior to your picture if I enter the FREQUENCY() function in a single cell and then copy it down. From a picture I cannot say for sure that this is what is going on in your spreadsheet, but it is one possible explanation. If this is the case, then I recommend you review the help file (https://support.office.com/en-us/art...7-fd9ea898fdb9 ) and enter the function as an appropriate array function over the necessary range.
Originally Posted by shg
Hi, i have attahced my spreadsheet, This is part of my sons home work so as a 40 year old i am ashamed to be asking for help. I could do it manually so its just a software issue i tell myself....
I plan to graph the occurrence data because the project is about selecting the modal value.
This is the forum's stance on helping with homework assignments:
Nothing is more frustrating than to be working on homework and to get stuck. Without guidance, you might have no hope of finishing the assignment before the deadline. The Internet can be a big help in that respect, but without learning how to get the right answer, asking others to solve your homework questions for you simply becomes a downward spiral (and it's cheating).
We do not want to contribute to you cheating yourself out of your education, but we also acknowledge that seeking assistance to learn a concept is a legitimate request.
If you are genuinely interested in receiving help in the form of tutoring or coaching, then please rephrase the title of your original post to clearly indicate you are seeking coaching or tutoring help. Any forum members (who are willing to assist as a tutor) will modify their responses accordingly to facilitate your learning. Tutors don't tell you the answers, they help you figure it out for yourself; so don't expect answers, expect suggestions, or just plain hints. Also, be specific in describing the function/formula or technique you trying to learn, and tell us what you have attempted so far. Otherwise, expect your plea for homework answers to be ignored.
sorry disnt add what i expected the results to be..
Looking at the spreadsheet, it looks like you made the mistake I alluded to earlier:I would have expected you to 1) Select M3:M18, 2) Enter =FREQUENCY(D3:J18,L3:L17) and 3) confirm with ctrl-shift-enter. Review help file for the FREQUENCY() function.I see similar behavior to your picture if I enter the FREQUENCY() function in a single cell and then copy it down.
Hi, I think you have miss understood. The spreadsheet isn't his home work, as he is only 9 years old and we will do this in his maths book but as i use excel at work, i was interested in trying to see if i could do it in excel. I thought would be happy to fail but having spent ages reading about the frequency formula i really done understand why my calculation isn't working.
The homework has nothing to do with excel and actually i would be very happy for someone to just tell me how to do it and spell out why my formula isn't working and what i need to do. I am not asking anyone to help me cheat and to be fair i have given it a good try, as the spreadsheet shows. I am just asking someone to help me not waste any more of my whole bank holiday weekend.
Thanks Mr Shorty, I am reading your comments and trying to work out if i understand.
Here's a little fragment of your sheet:
I J K L M 2Thu 30th Fri 31st range # 3 54 53 46 1 4 52 53 47 1 5 54 52 48 1 6 53 52 49 6 7 53 50 2 8 50 51 0 9 51 52 7 10 49 53 14 11 53 54 30 12 51 55 14 13 49 56 12 14 49 57 1 15 49 58 4 16 68 59 1 17 464047000000000000 60 0 18 464047000000000001
The frequency formula is entered like this:
Select M3:M18
Paste =FREQUENCY(D3:J18,L3:L17) in the formula bar
Press and hold the Ctrl and Shift keys, then press Enter
Why does it show a count of 1 for 46? There are obviously two, right?
Actually, there are not. In I17, I manually entered 46. Its hex representation as an IEEE-754 double-precision float is shown in yellow in the cell to the right.
I18 contains the 46 as it appears in your sheet. It is one LSB larger, which means it gets counted in the 47 bin.
Those numbers in columns D:J need to be fixed.
Last edited by shg; 04-29-2017 at 01:20 PM.
Entia non sunt multiplicanda sine necessitate
Hi, I have followed your comments and attached the result.
The distribution looks about right but the actual numbers are a bit confusion. i can see there are 2 occurrences of 46 but the results say 0?
Also wat does the Cntl-Shift-Enter, do?
Thanks
Dave
Ok thanks Give me a minute to check this.. Really appreciate you comments
Mr Shorty and shg - Thank you very much, i think i have cracked it.
Still don't completely understand the floating-point arithmetic stuff but i have found a way to change the advanced settings of the workbook to stop this happening. not sure if this is the best way but i dont need to do anything else with the data. I think i had two other issues.
Firstly was only selecting one cell to add the formular and then replicating down and also i wasn't using cont-shift-enter at the end.
However i am so grateful for your help
Many Thanks
Dave
If what you used was Precision as displayed, I strongly recommend against it. I'd recommend you fix the problem at its source.
It was..... Ok, I have reversed what i did and used =ROUND(cell,0)
How is that?
Thanks
Dave
That will work, but it's a band-aid. My question would be, how did the non-integer numbers get there in the first place?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks