PC Review


Reply
Thread Tools Rate Thread

Averaging many non-contiguous cells if they are blank

 
 
Nadine
Guest
Posts: n/a
 
      12th Apr 2010
I have columns set up to record payments (one for the date and one for the
amount). Currently I have columsn enough for 13 payments. So, imagine that
the invoice number is in Col A. Col B has the date the invoice was received.
Col C is for the date of the first payment. Column D is for the amount of
that payment. Col E is for the date of the next payment. Col F is for the
amount of that next payment. And so on.

There will be instances where there won't be anything in Col C-D but there
will be in Col E-F and so on. Some invoices can use all 13 sets of columns
and some might use one and others might use any combination of these 13 sets.

I need to find the average of the dates as compared to when the invoice was
received - basically, how long did it take to pay the invoice. I can't just
average the first column of each 13 sets because if there's no date in the
column, it shouldn't be included.

Does anyone know how to write a formula that will average the number of days
between these dates? I am using Excel 2003. Thanks.
 
Reply With Quote
 
 
 
 
macropod
Guest
Posts: n/a
 
      12th Apr 2010
Hi Nadine,

The AVERAGE function disregards empty cells, so it shouldn't matter whether some columns are empty.

There does seem to be some inconsistency in your problem description, though: If Column C is for the first payment, how can you have
payments, yet there will be "instances where there won't be anything in Col C-D"?

--
Cheers
macropod
[Microsoft MVP - Word]


"Nadine" <(E-Mail Removed)> wrote in message news:26E64C36-E78E-49DB-93D0-(E-Mail Removed)...
>I have columns set up to record payments (one for the date and one for the
> amount). Currently I have columsn enough for 13 payments. So, imagine that
> the invoice number is in Col A. Col B has the date the invoice was received.
> Col C is for the date of the first payment. Column D is for the amount of
> that payment. Col E is for the date of the next payment. Col F is for the
> amount of that next payment. And so on.
>
> There will be instances where there won't be anything in Col C-D but there
> will be in Col E-F and so on. Some invoices can use all 13 sets of columns
> and some might use one and others might use any combination of these 13 sets.
>
> I need to find the average of the dates as compared to when the invoice was
> received - basically, how long did it take to pay the invoice. I can't just
> average the first column of each 13 sets because if there's no date in the
> column, it shouldn't be included.
>
> Does anyone know how to write a formula that will average the number of days
> between these dates? I am using Excel 2003. Thanks.


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Averaging Blank Cells John Calder Microsoft Excel Worksheet Functions 3 1st Apr 2009 01:47 PM
Averaging blank cells =?Utf-8?B?U2NvdHQgVw==?= Microsoft Excel Misc 2 8th Jul 2006 02:58 PM
Contiguous cells are blank - Delete =?Utf-8?B?SG93YXJk?= Microsoft Excel Misc 2 11th Oct 2004 10:41 PM
Averaging List with Blank Cells Frank West Microsoft Excel Misc 2 18th Dec 2003 07:38 AM
Average of last X non-blank, non-contiguous cells Ann Scharpf Microsoft Excel Worksheet Functions 2 21st Oct 2003 09:47 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:26 AM.