ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   finding & looping (https://www.excelbanter.com/excel-discussion-misc-queries/187282-finding-looping.html)

jase

finding & looping
 
I am trying to write a macro that looks down a certain column for the word
"day" if it finds it, it then looks through a column of other data for the
word "day" and pastes it into my current cell. If it doesnt not say "day" it
just equals the cell above it.

=IF(RIGHT(B42,6)="day",VLOOKUP(B42,Index!$A$4:$H$5 03,6)," ")

kinda what im going for.


All times are GMT +1. The time now is 02:15 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com