excel help

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

Guest

I'm trying to generate a value equal to that of the greater value of 2
compare cells, any way to do this with an If statement. I have only been able
to generate "true" or False values.
 
Assuming the values are numeric:

myVal = Application.Max(range("A1"),range("B9"))
 

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