Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50068

Find a date value in a sheet and delete all cells to the right of it in the row

$
0
0
Hi,

I need a formula that finds a date value in a sheet and deletes all values in the row to the right of the date value

e.g
A B C D E
1 Text Text Text Text Text
2 Text Date Text Text Text
3 Text Text Date Text Text

So the formula would see there is a date in B2 and would delete all values in the row after the date, e.g. C2,D2 etc would be deleted
same for values in D3,E3 etc as there is a date value in C3

Any help would be greatly appreciated

thanks

Viewing all articles
Browse latest Browse all 50068

Trending Articles