Thread: Add formula if
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
puiuluipui puiuluipui is offline
external usenet poster
 
Posts: 468
Default Add formula if

Hi, i need a macro to add a formula starting from "H2", but only if in "F"
colum are numbers.
Ex:
F H
12 formula
5 formula
empty no formula

If there are some numbers in "F" column, then to add formula in in "H"
column starting from "H2".
This is the formula: =IF(G2<"",H2*G2,"")
Can this be done?
Thanks!