Formula as User Defined Function

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

Guest

How do I get the following formula to work as a user defined function.

=if(a1>=9,(b1+1),b1) and paste the result in cell c1

It would then have to work in row 2, 3 etc referering to those rows.

Thank you,

Esther
 
Hi
why do you want a UDF for this?. will slow down your Excel sheet and
won't be much simpler? Just copy this formula down
 
I have been copying down the formulas and then copying and pasting the
value, but I'm doing this for 4 columns of formulas over about 2000 rows. I
was looking for an easier solution as I have to recalculate the coumns
sometimes.

Thanks,

Esther
 
Hi
a UDF has to be copied in the same way. You may consider using a macro
inserting the formulas but normally copy/paste should be easier. e.g.
- insert the formula in the first row
- double click on the lower right corner of this formula cell. Excel
should copy the formula for all rows automatically
 

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