Excel Trick#52 - How To Compare Format Of Two Cells In Microsoft Excel || Excel Tips || dptutorials
In this tutorial, let us learn how to compare the format of two cells in Excel
1st Example:
In cell A5 and B5 let us put the date as 12/9/2018 i.e 12th Sep
and now let us format A5 to display as 12/9/2018 and format B5 to display in a different format like 09/12/2018 that means we are keeping the format of cell A5 as dd-mm-yyyy and format of B5 as mm-dd-yy
and let us check the format in both the cells A5 and B5 same or not, using the formula as =CELL(“format”,A5)=CELL(“format”,B5) which gives the result as FALSE which is correct
2nd Example:
Now let us test with the other formats, we have 27.11 in A6 and B6 but lets us show two decimals in A6 and only one decimal in B6, so the only difference being the decimal places.
Hence, both the cells contain the same value with different format.
Here, let's try with the same formula by dragging the cell C5 to C6, to see the result as FALSE again.
3d Example:
Now Cell A7 has value as 87.11 and cell B7 has 87.21 Though the values are different in both the cells but they are in the similar format i.e. both the Number format are showing 2 decimal places.
Here, we would like to see the result as TRUE because both the cells are of the same formats. let us drag the formula to C7 now to see the output as TRUE.
So friends, to check the format of cells in excel, we should be using the formula called Cell In this way, we can compare the formats of two cells in Excel.
I hope you have enjoyed this video tutorial.
For Personalized detail learning, write to dptutorials15@gmail.com If you found this video valuable, give it a like. If you know someone who needs to see it, share it. Leave a comment below with your thoughts. Add it to a playlist if you want to watch it later.
***************************************************************
Read my full article on this: http://ift.tt/2kB14dh
***************************************************************
Subscribe for more Awesome Tutorials: goo.gl/4T8ePc
***************************************************************
Support The Channel via shopping: http://ift.tt/2jH38PR
**************************************************************
You Can Connect With Me at
G+ : http://ift.tt/2kAOpa6
Twitter : https://twitter.com/dptutorials15
Facebook : http://ift.tt/2kfRnDi
Blogspot : http://ift.tt/2kB14dh
Comments
Post a Comment