Syntax Help

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

In (B2) I have the following formula:
=VLOOKUP(MONTH(A5),Lookup!$A$13:$B$24,2,FALSE)

This gives me the month based on a date entry in (A1). I need to say if A1
is blank then B2 should remain blank as well.

Also, is there a way to auto copy formulas down without manually pulling
them down to the next row?

Thank you
 
Try
=IF(A2="","", =VLOOKUP(MONTH(A5),Lookup!$A$13:$B$24,2,FALSE))

Another way to copy formulas down would be to copy the formula in B2.
In the name box (above row numbers and to the left of column A) enter
B3:B100, or whatever range you require.
Paste
 
Part 2
You could have a worksheet_change event that when something is entered in
col A the formula is automatically copied in.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top