View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.misc
Luke M Luke M is offline
external usenet poster
 
Posts: 2,722
Default What is the average month

Replace the B2:B100 reference (which is text apparently) with G2:G100 (which
is where your dates are really at, it appears).
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Jim" wrote:

I should also mention that the formula you are using is refering to a cell
that has an existing formula in it: =IF(G2=0,"",TEXT(G2,"mmmm"))

Does that make a difference?



"Luke M" wrote:

You could try this array** formula:

=MODE(IF(ISNUMBER(B2:B100),MONTH(B2:B100)))

**confirm formula using Ctrl+shift+Enter, not just Enter.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Jim" wrote:

Hello,

This is a great forum and I appreciate all the help.

In a worksheet I have a ton of data. However in Column B I have the
transaction month of purchases. For most rows the month is the same but
there are times where it reflects the month prior.

In column A I would like to show the billing month for the line. The
question is how do I write a formula to look at the entire column and show
the month that appears most in column B and return this month to column A.

Thanks
Jim