• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Loop through fixed number of rows

Cammandk

Member
Posted this by mistake in the excel formula forum.

I do need a vba solution as in J9:J38 there is a data validation list that contains "Cash Withdrawal" as part of the list options

I'm looking for code that will loop though O9:O38 and if on any of those rows the first 4 characters = "Cash" then "Cash Withdrawal" will be put in the adjacent J9:J38 cell.
So if O15 = "Cash Deposit abcd " then "Cash Withdrawal" will be entered into J15
 
As I don't see any link between VBA and data validation
can you clearly explain ?
Can be yet done with beginner level formulas.

And the best way even with VBA is a formula so without any loop !
Attach a before workbook and an after workbook accordingly …
 
Back
Top