Thanks! Question: Is it possible to use the display number for a formula? I'm trying to get the year of birth from the age at a specific date(dd/mm/yyyy) and I figured formating "yyyy"in another cell and use minus later, but didn't work. Any suggestions?
Formulas do not see formatting. Dates are serial numbers. For example 8/2/2010 is the serial number 40392, which is the number of days since Dec 31, 1899. If you were to format 8/2/2010 with "yyyy", you would see 2010, but any formula pointing at that cell will not see the 2010 but instead it will make calculations off of the 40392. If you want the year of 8/2/2010 and that date was in cell A1, the formula:
=YEAR(A1)
would give you 2010, and formulas could calculate off of that.
Is there a way to FLOOR "ranges" in functions? I'm using SUMIFS to add my credit cards processed for the month per day. The "criteria_range" i'm using is from a spreadsheat that puts the time and day together. I need to add the criteria done in a certain day. But the time is keeping it from adding. Any thoughts?
I'd like to ask about a command which results into .0 for decimals less than .5 ... and decimals equal or more than .5 will still be .5. Hope you could get back to me asap. :)
Not if you are going to copy the formula. B7 is relative and will not work. $B$7 or B$7 have a row reference locked and will work if the formula is copied.
That helps. So the next questions are: 1) what if the range does not have all the same formulas?, and 2) what if the range doesn't have any formulas but only raw numbers?
I know this isn't specific to rounding. If you can just point me to where I can learn about how to deal with these cases, that would be great.
If the range doesn't have any formulas but only raw numbers, highlight a similarly sized range of empty cells, hit F2, type equal sign, type ROUND(, click on the corresponding cell in the range of raw numbers, type ,2) or whatever number you want for the rounding position, Ctrl + Enter, Ctrl + C, Highlight raw numbers, Paste Special Values.
If the range doesn't have any formulas but only raw numbers, highlight a similarly sized range of empty cells, hit F2, type equal sign, type ROUND(, click on the corresponding cell in the range of raw numbers, type ,2) or whatever number you want for the rounding position, Ctrl + Enter, Ctrl + C, Highlight raw numbers, Paste Special Values.
it was pretty interesting and helpful, but i have a question.
what if I need the number of something.
for example i have 101 dollar and i'd like to buy beer which is 3 dollar. so 101 divided by 3 equals 33.6666, and if I do the formula round it'd be 34, but I can buy only 33 cans and i'll have 2 extra dollar.
is there any formula or trick for this case?
thanks for helping and thanks for these amazing lessons!!!
How would I know when to round or not round number?
jeffnationaltrade 2 weeks ago in playlist Excel Basics Series 2007 (1 to 23) & 2010 (20 to 40)
@jeffnationaltrade , It is only when:
1) You are required to round (like with money or your bosses tell you to)
2) You are multiplying or dividing decimals
3) you will use the formula result in a subsequent formula.
ExcelIsFun 2 weeks ago
Thank you for this tutorial. I like the way that you teach it is very easy to understand and you are very knowledgable.
samthesung 2 months ago
@samthesung , you are welcome!
ExcelIsFun 2 months ago
You are simply amazing!
aadmi67 5 months ago
@aadmi67 , Thanks! I am glad the vids help!
ExcelIsFun 5 months ago
aaaaaaaaaaaaa hi there, how can I round up $1.80 = $2.00, and $1,75= $ 1.00, please help, thanks..........
workwithme2011 9 months ago
I have many videos on rounding:
Excel Magic Trick #237: ROUND to Digit or Multiple
Excel Magic Trick 775: Round to 5 Minutes for Integer Values or Time Values ...
Excel Magic Trick 379: Round to Nearest 1/10th Hour for Payroll
Excel Busn Math 07: When ROUND function Is Required
But none of these cover what you are asking. I do not see a consistent pattern to exploit in your example.
ExcelIsFun 9 months ago
I typed the Round formula as specified but it is returning 143.9600 :S Any idea why this might be?
warlock4001 1 year ago
Try formatting to show 2 decimals only.
ExcelIsFun 1 year ago
Thanks! Question: Is it possible to use the display number for a formula? I'm trying to get the year of birth from the age at a specific date(dd/mm/yyyy) and I figured formating "yyyy"in another cell and use minus later, but didn't work. Any suggestions?
Thanks!!
pathinterpreter 1 year ago
Formulas do not see formatting. Dates are serial numbers. For example 8/2/2010 is the serial number 40392, which is the number of days since Dec 31, 1899. If you were to format 8/2/2010 with "yyyy", you would see 2010, but any formula pointing at that cell will not see the 2010 but instead it will make calculations off of the 40392. If you want the year of 8/2/2010 and that date was in cell A1, the formula:
=YEAR(A1)
would give you 2010, and formulas could calculate off of that.
ExcelIsFun 1 year ago
Thank you very much! you just helped me with my hw :D
DaN0T0RI0US1 1 year ago
You are welcome!
ExcelIsFun 1 year ago
Thanks again sir. God bless you :)
aman1245singh 1 year ago
Hi Mike,
Is there a way to FLOOR "ranges" in functions? I'm using SUMIFS to add my credit cards processed for the month per day. The "criteria_range" i'm using is from a spreadsheat that puts the time and day together. I need to add the criteria done in a certain day. But the time is keeping it from adding. Any thoughts?
I tried: =SUMIFS(A:A, FLOOR(B:B, 1), D1)
Column A=Credit Card Amounts
Column B=Date and Time Processed
Cell D1=Date
But it didn't work.
ssalazarjr 2 years ago
I do not know an answer to that. The best place to ask Excel questions is:
Mr Excel Message Board
mrexcel[dot]com/forum
ExcelIsFun 2 years ago
Hi excelisfun!
I'd like to ask about a command which results into .0 for decimals less than .5 ... and decimals equal or more than .5 will still be .5. Hope you could get back to me asap. :)
sofiathewise09 2 years ago
Sure! Try MROUND function. Here are two videos with various methods:
Excel Magic Trick #237: ROUND to Digit or Multiple
or
Excel Magic Trick #238: Round Times To 5 Minutes
ExcelIsFun 2 years ago
@ExcelIsFun Thank you so much sir! You're such a big help! Will check out your other videos. Thanks again. :)
sofiathewise09 2 years ago
You are welcome so much!!
ExcelIsFun 2 years ago
B7 or $B$7 wouldve been just fine
gastonytHQ 2 years ago
Not if you are going to copy the formula. B7 is relative and will not work. $B$7 or B$7 have a row reference locked and will work if the formula is copied.
ExcelIsFun 2 years ago
Wow, thanks much for your prompt reply!
That helps. So the next questions are: 1) what if the range does not have all the same formulas?, and 2) what if the range doesn't have any formulas but only raw numbers?
I know this isn't specific to rounding. If you can just point me to where I can learn about how to deal with these cases, that would be great.
Thanks again.
DT
danturners 2 years ago
Dear danturners,
1st one, I dont know.
If the range doesn't have any formulas but only raw numbers, highlight a similarly sized range of empty cells, hit F2, type equal sign, type ROUND(, click on the corresponding cell in the range of raw numbers, type ,2) or whatever number you want for the rounding position, Ctrl + Enter, Ctrl + C, Highlight raw numbers, Paste Special Values.
--excelisfun
ExcelIsFun 2 years ago
Dear danturners,
1st one, I dont know.
If the range doesn't have any formulas but only raw numbers, highlight a similarly sized range of empty cells, hit F2, type equal sign, type ROUND(, click on the corresponding cell in the range of raw numbers, type ,2) or whatever number you want for the rounding position, Ctrl + Enter, Ctrl + C, Highlight raw numbers, Paste Special Values.
--excelisfun
ExcelIsFun 2 years ago
Thanks much for these lessons! How do I most easily apply ROUND to a collection of numbers?
Thanks in advance.
danturners 2 years ago
In other words, I have a collection of numbers in, say, an array. I want to replace those numbers with their rounded values.
danturners 2 years ago
Dear danturners,
If the range has all the same formulas, highlight range, hit the F2 key, edit formula (add round), hit Ctrl + Enter to put formula in all cells.
--excelisfun
ExcelIsFun 2 years ago
hey,
it was pretty interesting and helpful, but i have a question.
what if I need the number of something.
for example i have 101 dollar and i'd like to buy beer which is 3 dollar. so 101 divided by 3 equals 33.6666, and if I do the formula round it'd be 34, but I can buy only 33 cans and i'll have 2 extra dollar.
is there any formula or trick for this case?
thanks for helping and thanks for these amazing lessons!!!
bugajoskaa 3 years ago
Dear bugajoskaa,
Here are some formulas and there results:
ROUND(101/3,0) = 34
ROUND(101/3,2) = 33.67
INT(101/3) = 33
QUOTIENT(101,3) = 33
MOD(101,3) = 2 (this is the remainder)
The QUOTIENT function is in Excel 2007, but must be added in 2003 by going to Tools, Addins, and then checking the Analysis Toolpak.
--excelisfun
ExcelIsFun 3 years ago
thanks a lot =)
bugajoskaa 3 years ago
Dear bugajoskaa ,
You are welcome!!!
--excelisfun
ExcelIsFun 3 years ago