Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
How would I go about placing a negative value e.g. -0.75 in brackets in excel: (-0.75). I have changed the custom format of the cell to (General) but negative numbers are being rendered as -(0.75). I need a fancy trick to bring that negative inside the brackets.
Thanks in advance!
Specifying a separate format for negative numbers seems to do the trick
(General);(-General)
Try putting a ' before the value like '(-0.75)
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I have a excel cells with username.id.I want to delete usernames and I just want ID's to be displayed in cells.
EG: sunny.123 should be transformed to 123
Try this formula:
=RIGHT(A1,LEN(A1)-SEARCH(".",A1))*1
This assumes that your IDs are always using the schema String.Number
If this is not always the case, this formula handles a few more situation:
=IF(ISERROR(SEARCH(".",A1)),IF(ISNUMBER(A1),A1,"Pattern does not match User.Id!"),RIGHT(A1,LEN(A1)-SEARCH(".",A1))*1)
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I wanted to ask if it's possible for excel to do something like that.
Let's say i have 10 cells going to be either Yes or No
But i will need to calculate how many Yes by adding them up. Lets say out of these 10 cells there's 6 Yes that wil only produce a number of 6 in cell C3.
The Number is determined by the amount of "Yes" in the particular row
If it's possible to do it in excel, what will the formula be?
Thank you
Yes, use COUNTIF
=COUNTIF(A1:A2,"YES")
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Lets say I want to average every non empty cell on sheet 1 column j how would I accomplish this?
=AVERAGE(Sheet1!$J:$J)should be all you need! :-)
Let's do a SumProduct and Count -IF for the non-zero numbers only. In this solution, it also consideres negative numbers (SumProduct formula). Then use those two results to count given that AVERAGE is good yet it takes zeros in to consideration. If you don't have zeros but just texts and numbers, you are better off with AVERAGE, otherwise give this a try and adjust the logic accordingly (to consider negative numbers or not):
Depending on the version you are using, you can try out AVERAGEIF as well.
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
How can I convert hours:minutes:seconds into total minutes in Excel?
Just use the formula
=A8*60*24
Just use the formula
120 = (HOUR(A8)*3600+MINUTE(A8)*60+SECOND(A8))/60
The only way is to use a formula or to format cells. The method i will use will be the following:
Add another column next to these values.
Then use the following formula:
=HOUR(A1)*60+MINUTE(A1)+SECOND(A1)/60
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am saving out some data as a .csv file from Excel. However numerical data is being saved as a text string, i.e the number is "quoted" in the resulting file. How do I prevent this?
Thanks
How are your Excel columns defined? If they are defined as text, than this is what you get. Define/format your columns as numeric if you want them to be numeric.