View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
Lori Lori is offline
external usenet poster
 
Posts: 340
Default How do you insert a macro into a formula?

=A7*LOOKUP(9E+99,C:C)


Bob Phillips wrote:

=A7*LOOKUP(2,1/(C3:C20<""),C3:C20)

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Obe" wrote in message
...
I wish to write a formula that goes to the end value in a column and uses
that value for multiplying another cell.

I am trying to multiply cell a7 by the last entry in the range c3:c20. I
have the macro that goes to that entry but now need the steps to insert it
into the formula. At the start of the month only cell c3 has data. On the
second day c4 has data and so on.

Thanks