Use Loop to find an Empty cell then use condition

fluffyvampirekitten

Board Regular
Joined
Jul 1, 2015
Messages
72
I want to create a macro that can help me find for an empty cell and then use some conditions

'Find the cell that is empty.a
If cell is empty , call the vlookup function method else display "Not indicated"

how do i do it ?
Thanks and appreciated your help .
-NewUserinMacro
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
F.V.K,

Welcome to the forum.

You need to give us some more information on your problem.

1. The empty cell you are looking for is in which sheet?? sheet name?

2. the empty cell is the last, in which column ?? or the last in the used area?

3. Is the empty cell 'truely' empty or just looks empty from the result of a formula?

4. Are you looking for the first empty cell in any column?

5. Do you want VBA to do the VLOOKUP for put the formula in the cell?

6. Where is the lookup value situated? Sheet name and Range?

7. Where is the table to be looked up? Sheet name and Range?

8. What column is the value in?

9. Do you want an exact match?

10. What happens when a match is not found? "Not indicated" is placed in the cell?

thanks

FarmerScott
 
Upvote 0

Forum statistics

Threads
1,223,902
Messages
6,175,278
Members
452,629
Latest member
SahilPolekar

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top