In a two-row chart, I want to highlight, in green, the larger number automatically with an excel formula. Is there a way to do so? Note that the number can be any real number represented in decimal form, and it is guaranteed that there is a number in every cell.
In the picture below, I did this manually, and it looks like this. I really want an excel formula since my chart is rather long. Thank you in advance.
When I try to add a new rule (from answer), it looks like this:
What do I do?
What you want is Conditional Formatting vs a formula. Setup as follows:
I have been trying to change the Excel date 31/03/2020 to =TEXT(D4,"MM-DD-YYYY") but its not working is there any other way to do this by Excel Formula.
Any help will be appreciated.
You will need to use LEFT, MID and RIGHT.
=MID(D4,4,2)&"-"&LEFT(D4,2)&"-"&RIGHT(D4,4)
I've been brainstorming on how reformat a set of characters in Excel. The following is a list of MAC addresses:
c00123837da2
c00685208b9f
c00f39fb0303
c017e60c20dc
c01de4084d1d
c020f0caf1db
c02719661782
c02b2924603d
c02f76701db5
I need them to be in a certain format. As an example for number one I have c00123837da2 and I want it to be formatted as C0:01:23:83:7D:A2.
I would really appreciate any guidance you guys might have on how to achieve that because I have 25,000 entries to reformat.
Thank you!
If one has TEXTJOIN():
Formula in B1:
=TEXTJOIN(":",,MID(UPPER(A1),{1,3,5,7,9,11},2))
In B1, formula copied down :
=REPLACE(REPLACE(REPLACE(REPLACE(REPLACE(UPPER(A1),3,,":"),6,,":"),9,,":"),12,,":"),15,,":")
If you do not have TEXTJOIN() then try CONCATENATE() function. B1 formula is
=UPPER(CONCATENATE(MID(A1,1,2),":",MID(A1,3,2),":",MID(A1,5,2),":",MID(A1,7,2),":",MID(A1,9,2),":",MID(A1,11,2)))
I have Data range full of letters and want a dynamic count in excel when a filter is applied.
I used following formula for numbers
=SUMPRODUCT(SUBTOTAL(3, OFFSET($FW$40:$FW$144, ROW($FW$40:$FW$144)-MIN(ROW($FW$40:$FW$144)),,1)), ISNUMBER(SEARCH(1,$FW$40:$FW$144))+0)
I thought of changing the last part to look for a text e.g."A" would work but unfortunately it doesn't work.
Can somebody show me a formula on how I can do this when my data is all letters?
Thanks in advance!
After a lot of reading I worked out you can use -- to search for text.
My formula works... Thanks
We have a spreadsheet at work, and we use it to keep track of various metrics, a few having to do with call lengths. The spreadsheet has been the same for years, but we now have a call time of 51:59 (mm:ss) which has broken the old format.
I am researching how to make it work as desired, and so far the best solution is to format the cell as [m]:ss and enter the time in the cell as 0:51:59. This gives the outcome desired, and performs all the calculations correctly, except I want to be able to achieve this without the leading zero. Ideally, someone could enter 51:59 into the cell, and it would read 51:59 and not 3119:00.
Does anyone know how to achieve what I am looking for? Any help would be greatly appreciated. I am comfortable with macros, so if there is a way to achieve this with a macro that would work, but ideally I am looking for a solution without a macro.
Thank you.
There is no way you can do this. The closest one is the following workaround:
Define cell A1 format as hh:mm and cell B1 format as mm:ss.
Enter formula =A1/60 into B1.
This will display 51:59 in B1 when you type 51:59 into A1.
Unfortunately, A1 text will read not-so-intuitive value after it loses the focus.
The workaround is described here:
https://superuser.com/a/235924