I have an excel spreadsheet that computes the Tan of an angle in degrees.
I need a formula that will convert the cell (Tan<) to an angle in degrees.
FYI:
I can send excel spreadsheet if needed.
Consider:
=ATAN(A1)*180/PI()
.
.
Related
I am using format cells to add text to cells.
My problem is when the cell value is negative. The negative location change to be in front of the text.
How do you move the negative sign in Excel next to the number (blue line in the picture above)?
Thank you for your help,
Try conditional custom formatting.
[<0]"tt" -0.000 "ksi";"tt" 0.000 "ksi"
I am looking for a formula that would make my life much easier. I have a table with simple coordinates in the columns and coordinate combinations in the rows. I want Excel to indicate when a coordinate is included in the coordinate pairs. The output should be 0 and 1 (see picture). I was thinking of a If function, but I didn't know how to implement it.
My example has a total of 13 different coordinates, so you can imagine how much work this would be by hand.
Formula in Cell B2 is:
=COUNTIF(B$1;"*"&$A2&"*")
Notice I'm using mixed references. Just drag to right and to bottom and it will work.
COUNTIF
function
Switch between relative, absolute, and mixed
references
I'm trying to convert time to numbers in excel. I am using this formula:
=HOUR(A2) + MINUTE(A2) / 60 + SECOND(A2) / 3600
And it works well, but I have to convert a column with around 65.000 of dates.
How do I do that in an elegant and time saving way?
So assuming that your formula does what you want it to do, you just have to double click on the lower-right part on the cell with your first formula. So if your data are in the range A2:A65000, write your formula on cell B2, and double click on its lower-right part.
See the pic below:
Assume you mean time rather than date.
Try
=A2*24
Format as general
To apply to a large range you can put 24 into a spare cell, copy it, select range you want to convert to number and paste special... Then select multiply and okay.
How to create Excel formula that adds a cell if it's negative or subtracts it if it's positive?
I understand I can use simple forumlas like =A37+D35 or =A37+SUMIF(D35,"<0") if I already know which direction the formula should go (adding or subtracting), but...
how do I get the formula to figure that out for me?
I want to say: "If D35 is negative ADD it to A37, BUT if it's positive SUBTRACT it from A37".
You can use a simple if statement.
=IF(D35<0,D35+A37,D35-A37)
You can just make the field negative and it will automatically flip the sign.
=A37-D35
If D35 is negative, the double negative turns to positive.
Basically I have a column showing poker hands data in the following form:
AsKh
TcTd
QsQh
5d7d
I want to apply a conditional formatting formulat to the column so that diamonds 'd' gets replaced with a blue diamond symbold and their preceding card gets colored blue. And so forth with all cards. The goal is to make it easier to read the data.
Thanks a lot!
You can use the following formula in a cell formatted with the symbol font. J and Q will look funky though. You'll have to use a macro to address that and basically adjust the font for each cell of the result.
=SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(A1,"c",CHAR(167)),"h",CHAR(169)),"s",CHAR(170)),"d",CHAR(168))