MAXA won't work with VLOOKUP?

A

amirstal

Using vlookup, A1 returns 09/18/2008 while B1 returns 09/17/2008. When
I apply C1=MAXA(A1,B1) I am getting zero instead of 09/18/2008. Doing
the same thing to A1 and B1 but not using vlookup returns the correct
value (09/16/2008). Is there a way to make MAXA work with vlookup?

Thanks,

Amir
 
M

Mike H

Hi,

MAXA works ok with vlookup provided the values returned are numeric which
dates are.

I suggest you try this on both a1 and b1

=isnumber(a1)
=isnumber(b1)

If they return FALSE then your dates aren't really dates and your problem
lies in the data your vlookup is returning.

Mike
 

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

Similar Threads


Top