Saturday, November 23

Tag: exceljet

Compare Time Using If Formula

Compare Time Using If Formula

Logical, Statistical
First Select Any Of The Cell For Output Result. Apply The Formula '=IF(TIME(11,17,30)=D2,"Yes","No") Make Sure That Time After 12:00 Hr Is 13:00 As By Default The Time Value Is In 24 Hrs Format. If You Change The Format To 12 Hrs Then It Fine to Have 01;00 Hrs. But Its Vary With Time Formats. As A Result You Can Choose The Output With If Formula. That's It: :)
Conditional Formatting To Highlight Unique Values

Conditional Formatting To Highlight Unique Values

HIGHLIGHTING CELL RULES
How to use and apply the Conditional Formatting rules by using custom options please follow the step shown below and example in image and video. NOTE:- Conditional Formatting Rules Always Work On The Base Of True & False Only. Select The Range Of Your Data. GO To Home Tab Then Go To Conditional Formatting. Then Click & Select New Rule. One Dialog Box Will Get Pop-Up Then Select Format Unique Or Duplicate In Second Last In Option List. Once Its Done Select The Formatting Option According To Your Requirement As Shown In This Example. Once It's Done Click Ok. Then Use Filter With Color And You Wil Have All Unique Numbers. That's It :)
Use Of Cells Range Object With Variable In Excel VBA

Use Of Cells Range Object With Variable In Excel VBA

VBA, VBA Range
INTRODUCTION: Range Or Cells Is Used To Define The Start And End Point For A Particular Selection Of Cells. Examples "A1:A5" or "A1" Etc... Open Excel File Click Alt + F11One Dialog Screen Will Get OpenClick Insert And Add ModuleCreate Sub ProcedureMake Sure The Procedure Name Start With String And Without Space.Write The Code In Between Sub And Sub End Click Run ButtonBy Clicking The Range Data Will Get Selected.Declare Variable - Dim RNG as Range / To Copy And Paste Data Use Dim Copyy= Range("A1:A6") / Dim Pastee As RangeNote We Cannot Use Excel By Default Keyword Like Copy - Paste - Cut As Variable.Range Is Object So We Will Need To Use Set Keyword To Apply Particular Range. For Select The Range Use Set RNG = Range("A1:A5").SelectTo Copy The Data Use Set Copyy= Range("A1:A5") To ...