#1   Report Post  
ToddG
 
Posts: n/a
Default formula help

The spreadsheet has 7 columns. For each horizontal row, the columns will
have a number of hours manually entered into all or only some of the 7 cells
in that row. In the case where not all of the cells have numbers, then those
empty cells will just be blank. I need help creating a formual in Excel that
will do the following:

For each row, total all of the numbers listed in the 7 cells, let's call
that total X. The formula will first divide X by 8. To understand the
forumula I need, let's call the resulting number to the left of decimal point
Y, and the number to the right of the decimal point Z.

--if Y is equal to or exceeds the total number of cells with number entries,
then the answer will be the total number of cells with number entries.

--if Y is less than the total number cells with number entries, then the
answer will be equal to:

Y plus 0.5, if Z is less than or equal to 0.5 or 1, if Z is greater than
0.5)

Thank you so much for any help you can provide.
  #2   Report Post  
bj
 
Posts: n/a
Default

try
=MIN(COUNT(A1:A7),CEILING(SUM(A1:A7)/8,0.5))

"ToddG" wrote:

The spreadsheet has 7 columns. For each horizontal row, the columns will
have a number of hours manually entered into all or only some of the 7 cells
in that row. In the case where not all of the cells have numbers, then those
empty cells will just be blank. I need help creating a formual in Excel that
will do the following:

For each row, total all of the numbers listed in the 7 cells, let's call
that total X. The formula will first divide X by 8. To understand the
forumula I need, let's call the resulting number to the left of decimal point
Y, and the number to the right of the decimal point Z.

--if Y is equal to or exceeds the total number of cells with number entries,
then the answer will be the total number of cells with number entries.

--if Y is less than the total number cells with number entries, then the
answer will be equal to:

Y plus 0.5, if Z is less than or equal to 0.5 or 1, if Z is greater than
0.5)

Thank you so much for any help you can provide.

  #3   Report Post  
ToddG
 
Posts: n/a
Default

That's perfect. Many Thanks!

"bj" wrote:

try
=MIN(COUNT(A1:A7),CEILING(SUM(A1:A7)/8,0.5))

"ToddG" wrote:

The spreadsheet has 7 columns. For each horizontal row, the columns will
have a number of hours manually entered into all or only some of the 7 cells
in that row. In the case where not all of the cells have numbers, then those
empty cells will just be blank. I need help creating a formual in Excel that
will do the following:

For each row, total all of the numbers listed in the 7 cells, let's call
that total X. The formula will first divide X by 8. To understand the
forumula I need, let's call the resulting number to the left of decimal point
Y, and the number to the right of the decimal point Z.

--if Y is equal to or exceeds the total number of cells with number entries,
then the answer will be the total number of cells with number entries.

--if Y is less than the total number cells with number entries, then the
answer will be equal to:

Y plus 0.5, if Z is less than or equal to 0.5 or 1, if Z is greater than
0.5)

Thank you so much for any help you can provide.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
IF & VLOOKUP FORMULA taxmom Excel Worksheet Functions 3 March 2nd 05 03:35 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
revert formula insertion to old method Don't be a pain in the ass Setting up and Configuration of Excel 0 January 24th 05 01:49 PM
Relative Indirect Formula Referencing? Damian Excel Worksheet Functions 1 January 7th 05 04:16 AM
Help with macro formula and variable Huge project Excel Worksheet Functions 0 December 28th 04 01:27 AM


All times are GMT +1. The time now is 12:05 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"