Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 79
Default sumif and translate annual hours into weekly quarter hours

i have a 2 part question:

i need a formula that will look for a value in a particular cell then based
on which column it is found in multiply by the corresponding value to return
the correct product

i.e., look across columns a, b & c...if it finds a number in a multiply by
260 if it finds a number in column b multiply by 52 if it finds a number in
column c multiply by 12

there will never be a number in more than one column




2nd question...how can i translate a number into hours broken down by quarters

18 hours*52 weeks = .346...i need .346 converted to hours or rounded up to
the nearest quarter hour




  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,696
Default sumif and translate annual hours into weekly quarter hours

Format cell as 1)
=if(MATCH(value,2:2,0)=1,value*260,If(MATCH(value, 2:2,0)=2,value*52,If(MATCH(value,2:2,0)=2,value*12 )

2) Trying to figure out how 18 hours times 52 weeks equals .346???

Well, either way, try =ROUND(Time*96,0)/96



"se7098" wrote:

i have a 2 part question:

i need a formula that will look for a value in a particular cell then based
on which column it is found in multiply by the corresponding value to return
the correct product

i.e., look across columns a, b & c...if it finds a number in a multiply by
260 if it finds a number in column b multiply by 52 if it finds a number in
column c multiply by 12

there will never be a number in more than one column




2nd question...how can i translate a number into hours broken down by quarters

18 hours*52 weeks = .346...i need .346 converted to hours or rounded up to
the nearest quarter hour




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default sumif and translate annual hours into weekly quarter hours

Question 1:

Assuming the cells will only contain numbers...

Assuming the value is 10...

=10*IF(A1,260,IF(B1,52,IF(C1,12,0)))

Question 2: not following you on this one!

--
Biff
Microsoft Excel MVP


"se7098" wrote in message
...
i have a 2 part question:

i need a formula that will look for a value in a particular cell then
based
on which column it is found in multiply by the corresponding value to
return
the correct product

i.e., look across columns a, b & c...if it finds a number in a multiply by
260 if it finds a number in column b multiply by 52 if it finds a number
in
column c multiply by 12

there will never be a number in more than one column




2nd question...how can i translate a number into hours broken down by
quarters

18 hours*52 weeks = .346...i need .346 converted to hours or rounded up to
the nearest quarter hour






  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 964
Default sumif and translate annual hours into weekly quarter hours

My guess is that he has a typo, maybe it should be 18/52

converted to hours is 00:20:00

--


Regards,


Peo Sjoblom

"T. Valko" wrote in message
...
Question 1:

Assuming the cells will only contain numbers...

Assuming the value is 10...

=10*IF(A1,260,IF(B1,52,IF(C1,12,0)))

Question 2: not following you on this one!

--
Biff
Microsoft Excel MVP


"se7098" wrote in message
...
i have a 2 part question:

i need a formula that will look for a value in a particular cell then
based
on which column it is found in multiply by the corresponding value to
return
the correct product

i.e., look across columns a, b & c...if it finds a number in a multiply
by
260 if it finds a number in column b multiply by 52 if it finds a number
in
column c multiply by 12

there will never be a number in more than one column




2nd question...how can i translate a number into hours broken down by
quarters

18 hours*52 weeks = .346...i need .346 converted to hours or rounded up
to
the nearest quarter hour








  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 79
Default sumif and translate annual hours into weekly quarter hours

not sure what you mean by value.

what i am attempting to do is determine how many annual hours are spent on
given tasks...some are performed daily, some weekly, some monthly
column a represents daily, column b - weekly, column c - monthly

so if a task is performed 3 times daily a "3" would be in column a...if it
is performed 1 weekly a "1" would be in column b etc

it is only counted as either daily, weekly or monthly...never all 3

i want the result returned in column d which is my annual hours spent on
this task column

so if column a has a 3 in it then column b and c would both be blank

i want the formula in column d to look at columns a b & c find which one has
a value then take that value and multiply it times 260 if found in column a,
52 if found in column b or 12 if found in column c...am i asking for the
impossible?

then once i have the annual number of hours, i need to translate that into
weekly hours and monthly hours...kind of calculated backwards if that makes
and sense

so if column d = 18.00 hours...divide that by 52 for the weekly time spent
on the task in column e and divide it by 12 for the monthly time spent in
column f

or if there is an easier way to get this all done i am very open to
suggestions. thanks!


"T. Valko" wrote:

Question 1:

Assuming the cells will only contain numbers...

Assuming the value is 10...

=10*IF(A1,260,IF(B1,52,IF(C1,12,0)))

Question 2: not following you on this one!

--
Biff
Microsoft Excel MVP


"se7098" wrote in message
...
i have a 2 part question:

i need a formula that will look for a value in a particular cell then
based
on which column it is found in multiply by the corresponding value to
return
the correct product

i.e., look across columns a, b & c...if it finds a number in a multiply by
260 if it finds a number in column b multiply by 52 if it finds a number
in
column c multiply by 12

there will never be a number in more than one column




2nd question...how can i translate a number into hours broken down by
quarters

18 hours*52 weeks = .346...i need .346 converted to hours or rounded up to
the nearest quarter hour









  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default sumif and translate annual hours into weekly quarter hours

Ans #1:

D1 =(A1*260)+(B1*52)+(C1*12)


"se7098" wrote:

not sure what you mean by value.

what i am attempting to do is determine how many annual hours are spent on
given tasks...some are performed daily, some weekly, some monthly
column a represents daily, column b - weekly, column c - monthly

so if a task is performed 3 times daily a "3" would be in column a...if it
is performed 1 weekly a "1" would be in column b etc

it is only counted as either daily, weekly or monthly...never all 3

i want the result returned in column d which is my annual hours spent on
this task column

so if column a has a 3 in it then column b and c would both be blank

i want the formula in column d to look at columns a b & c find which one has
a value then take that value and multiply it times 260 if found in column a,
52 if found in column b or 12 if found in column c...am i asking for the
impossible?

then once i have the annual number of hours, i need to translate that into
weekly hours and monthly hours...kind of calculated backwards if that makes
and sense

so if column d = 18.00 hours...divide that by 52 for the weekly time spent
on the task in column e and divide it by 12 for the monthly time spent in
column f

or if there is an easier way to get this all done i am very open to
suggestions. thanks!


"T. Valko" wrote:

Question 1:

Assuming the cells will only contain numbers...

Assuming the value is 10...

=10*IF(A1,260,IF(B1,52,IF(C1,12,0)))

Question 2: not following you on this one!

--
Biff
Microsoft Excel MVP


"se7098" wrote in message
...
i have a 2 part question:

i need a formula that will look for a value in a particular cell then
based
on which column it is found in multiply by the corresponding value to
return
the correct product

i.e., look across columns a, b & c...if it finds a number in a multiply by
260 if it finds a number in column b multiply by 52 if it finds a number
in
column c multiply by 12

there will never be a number in more than one column




2nd question...how can i translate a number into hours broken down by
quarters

18 hours*52 weeks = .346...i need .346 converted to hours or rounded up to
the nearest quarter hour







  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,696
Default sumif and translate annual hours into weekly quarter hours

ans 2

E1=D1/52

F1=D1/12

We were off the tracks there

"Teethless mama" wrote:

Ans #1:

D1 =(A1*260)+(B1*52)+(C1*12)


"se7098" wrote:

not sure what you mean by value.

what i am attempting to do is determine how many annual hours are spent on
given tasks...some are performed daily, some weekly, some monthly
column a represents daily, column b - weekly, column c - monthly

so if a task is performed 3 times daily a "3" would be in column a...if it
is performed 1 weekly a "1" would be in column b etc

it is only counted as either daily, weekly or monthly...never all 3

i want the result returned in column d which is my annual hours spent on
this task column

so if column a has a 3 in it then column b and c would both be blank

i want the formula in column d to look at columns a b & c find which one has
a value then take that value and multiply it times 260 if found in column a,
52 if found in column b or 12 if found in column c...am i asking for the
impossible?

then once i have the annual number of hours, i need to translate that into
weekly hours and monthly hours...kind of calculated backwards if that makes
and sense

so if column d = 18.00 hours...divide that by 52 for the weekly time spent
on the task in column e and divide it by 12 for the monthly time spent in
column f

or if there is an easier way to get this all done i am very open to
suggestions. thanks!


"T. Valko" wrote:

Question 1:

Assuming the cells will only contain numbers...

Assuming the value is 10...

=10*IF(A1,260,IF(B1,52,IF(C1,12,0)))

Question 2: not following you on this one!

--
Biff
Microsoft Excel MVP


"se7098" wrote in message
...
i have a 2 part question:

i need a formula that will look for a value in a particular cell then
based
on which column it is found in multiply by the corresponding value to
return
the correct product

i.e., look across columns a, b & c...if it finds a number in a multiply by
260 if it finds a number in column b multiply by 52 if it finds a number
in
column c multiply by 12

there will never be a number in more than one column




2nd question...how can i translate a number into hours broken down by
quarters

18 hours*52 weeks = .346...i need .346 converted to hours or rounded up to
the nearest quarter hour







  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 79
Default sumif and translate annual hours into weekly quarter hours

the problem with that is i am being asked to provide the number rounded to
the nearest quarter hour

so when my annual time is 36 and i divide that by 52 my answer is
0.692...how can i make that auto round to .75?

"Sean Timmons" wrote:

ans 2

E1=D1/52

F1=D1/12

We were off the tracks there

"Teethless mama" wrote:

Ans #1:

D1 =(A1*260)+(B1*52)+(C1*12)


"se7098" wrote:

not sure what you mean by value.

what i am attempting to do is determine how many annual hours are spent on
given tasks...some are performed daily, some weekly, some monthly
column a represents daily, column b - weekly, column c - monthly

so if a task is performed 3 times daily a "3" would be in column a...if it
is performed 1 weekly a "1" would be in column b etc

it is only counted as either daily, weekly or monthly...never all 3

i want the result returned in column d which is my annual hours spent on
this task column

so if column a has a 3 in it then column b and c would both be blank

i want the formula in column d to look at columns a b & c find which one has
a value then take that value and multiply it times 260 if found in column a,
52 if found in column b or 12 if found in column c...am i asking for the
impossible?

then once i have the annual number of hours, i need to translate that into
weekly hours and monthly hours...kind of calculated backwards if that makes
and sense

so if column d = 18.00 hours...divide that by 52 for the weekly time spent
on the task in column e and divide it by 12 for the monthly time spent in
column f

or if there is an easier way to get this all done i am very open to
suggestions. thanks!


"T. Valko" wrote:

Question 1:

Assuming the cells will only contain numbers...

Assuming the value is 10...

=10*IF(A1,260,IF(B1,52,IF(C1,12,0)))

Question 2: not following you on this one!

--
Biff
Microsoft Excel MVP


"se7098" wrote in message
...
i have a 2 part question:

i need a formula that will look for a value in a particular cell then
based
on which column it is found in multiply by the corresponding value to
return
the correct product

i.e., look across columns a, b & c...if it finds a number in a multiply by
260 if it finds a number in column b multiply by 52 if it finds a number
in
column c multiply by 12

there will never be a number in more than one column




2nd question...how can i translate a number into hours broken down by
quarters

18 hours*52 weeks = .346...i need .346 converted to hours or rounded up to
the nearest quarter hour







  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 79
Default sumif and translate annual hours into weekly quarter hours

this worked for #1...thanks!

"Teethless mama" wrote:

Ans #1:

D1 =(A1*260)+(B1*52)+(C1*12)


"se7098" wrote:

not sure what you mean by value.

what i am attempting to do is determine how many annual hours are spent on
given tasks...some are performed daily, some weekly, some monthly
column a represents daily, column b - weekly, column c - monthly

so if a task is performed 3 times daily a "3" would be in column a...if it
is performed 1 weekly a "1" would be in column b etc

it is only counted as either daily, weekly or monthly...never all 3

i want the result returned in column d which is my annual hours spent on
this task column

so if column a has a 3 in it then column b and c would both be blank

i want the formula in column d to look at columns a b & c find which one has
a value then take that value and multiply it times 260 if found in column a,
52 if found in column b or 12 if found in column c...am i asking for the
impossible?

then once i have the annual number of hours, i need to translate that into
weekly hours and monthly hours...kind of calculated backwards if that makes
and sense

so if column d = 18.00 hours...divide that by 52 for the weekly time spent
on the task in column e and divide it by 12 for the monthly time spent in
column f

or if there is an easier way to get this all done i am very open to
suggestions. thanks!


"T. Valko" wrote:

Question 1:

Assuming the cells will only contain numbers...

Assuming the value is 10...

=10*IF(A1,260,IF(B1,52,IF(C1,12,0)))

Question 2: not following you on this one!

--
Biff
Microsoft Excel MVP


"se7098" wrote in message
...
i have a 2 part question:

i need a formula that will look for a value in a particular cell then
based
on which column it is found in multiply by the corresponding value to
return
the correct product

i.e., look across columns a, b & c...if it finds a number in a multiply by
260 if it finds a number in column b multiply by 52 if it finds a number
in
column c multiply by 12

there will never be a number in more than one column




2nd question...how can i translate a number into hours broken down by
quarters

18 hours*52 weeks = .346...i need .346 converted to hours or rounded up to
the nearest quarter hour







  #10   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default sumif and translate annual hours into weekly quarter hours

Ok, now I get it! Try this:

I'm assuming you're entering decimal numbers in A1:C1

Formula in D1:

=IF(A1,A1*260,IF(B1,B1*52,IF(C1,C1*12,0)))

Formula in E1:

=CEILING((MAX(A1:C1)/24)/52,TIME(0,15,0))

Formula in F1:

=CEILING((MAX(A1:C1)/24)/12,TIME(0,15,0))

Format E1:F1 as [h]:mm


--
Biff
Microsoft Excel MVP


"se7098" wrote in message
...
not sure what you mean by value.

what i am attempting to do is determine how many annual hours are spent on
given tasks...some are performed daily, some weekly, some monthly
column a represents daily, column b - weekly, column c - monthly

so if a task is performed 3 times daily a "3" would be in column a...if it
is performed 1 weekly a "1" would be in column b etc

it is only counted as either daily, weekly or monthly...never all 3

i want the result returned in column d which is my annual hours spent on
this task column

so if column a has a 3 in it then column b and c would both be blank

i want the formula in column d to look at columns a b & c find which one
has
a value then take that value and multiply it times 260 if found in column
a,
52 if found in column b or 12 if found in column c...am i asking for the
impossible?

then once i have the annual number of hours, i need to translate that into
weekly hours and monthly hours...kind of calculated backwards if that
makes
and sense

so if column d = 18.00 hours...divide that by 52 for the weekly time spent
on the task in column e and divide it by 12 for the monthly time spent in
column f

or if there is an easier way to get this all done i am very open to
suggestions. thanks!


"T. Valko" wrote:

Question 1:

Assuming the cells will only contain numbers...

Assuming the value is 10...

=10*IF(A1,260,IF(B1,52,IF(C1,12,0)))

Question 2: not following you on this one!

--
Biff
Microsoft Excel MVP


"se7098" wrote in message
...
i have a 2 part question:

i need a formula that will look for a value in a particular cell then
based
on which column it is found in multiply by the corresponding value to
return
the correct product

i.e., look across columns a, b & c...if it finds a number in a multiply
by
260 if it finds a number in column b multiply by 52 if it finds a
number
in
column c multiply by 12

there will never be a number in more than one column




2nd question...how can i translate a number into hours broken down by
quarters

18 hours*52 weeks = .346...i need .346 converted to hours or rounded up
to
the nearest quarter hour











  #11   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default sumif and translate annual hours into weekly quarter hours

Ooops!

Corrections:

Formula in E1:

=CEILING(D1/52,TIME(0,15,0))

Formula in F1:

=CEILING(D1/12,TIME(0,15,0))


--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
Ok, now I get it! Try this:

I'm assuming you're entering decimal numbers in A1:C1

Formula in D1:

=IF(A1,A1*260,IF(B1,B1*52,IF(C1,C1*12,0)))

Formula in E1:

=CEILING((MAX(A1:C1)/24)/52,TIME(0,15,0))

Formula in F1:

=CEILING((MAX(A1:C1)/24)/12,TIME(0,15,0))

Format E1:F1 as [h]:mm


--
Biff
Microsoft Excel MVP


"se7098" wrote in message
...
not sure what you mean by value.

what i am attempting to do is determine how many annual hours are spent
on
given tasks...some are performed daily, some weekly, some monthly
column a represents daily, column b - weekly, column c - monthly

so if a task is performed 3 times daily a "3" would be in column a...if
it
is performed 1 weekly a "1" would be in column b etc

it is only counted as either daily, weekly or monthly...never all 3

i want the result returned in column d which is my annual hours spent on
this task column

so if column a has a 3 in it then column b and c would both be blank

i want the formula in column d to look at columns a b & c find which one
has
a value then take that value and multiply it times 260 if found in column
a,
52 if found in column b or 12 if found in column c...am i asking for the
impossible?

then once i have the annual number of hours, i need to translate that
into
weekly hours and monthly hours...kind of calculated backwards if that
makes
and sense

so if column d = 18.00 hours...divide that by 52 for the weekly time
spent
on the task in column e and divide it by 12 for the monthly time spent in
column f

or if there is an easier way to get this all done i am very open to
suggestions. thanks!


"T. Valko" wrote:

Question 1:

Assuming the cells will only contain numbers...

Assuming the value is 10...

=10*IF(A1,260,IF(B1,52,IF(C1,12,0)))

Question 2: not following you on this one!

--
Biff
Microsoft Excel MVP


"se7098" wrote in message
...
i have a 2 part question:

i need a formula that will look for a value in a particular cell then
based
on which column it is found in multiply by the corresponding value to
return
the correct product

i.e., look across columns a, b & c...if it finds a number in a
multiply by
260 if it finds a number in column b multiply by 52 if it finds a
number
in
column c multiply by 12

there will never be a number in more than one column




2nd question...how can i translate a number into hours broken down by
quarters

18 hours*52 weeks = .346...i need .346 converted to hours or rounded
up to
the nearest quarter hour











  #12   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 79
Default sumif and translate annual hours into weekly quarter hours

closer :) but is rounding up to .70...would like to round to .75...possible?
what do i need to change?

"T. Valko" wrote:

Ooops!

Corrections:

Formula in E1:

=CEILING(D1/52,TIME(0,15,0))

Formula in F1:

=CEILING(D1/12,TIME(0,15,0))


--
Biff
Microsoft Excel MVP


"T. Valko" wrote in message
...
Ok, now I get it! Try this:

I'm assuming you're entering decimal numbers in A1:C1

Formula in D1:

=IF(A1,A1*260,IF(B1,B1*52,IF(C1,C1*12,0)))

Formula in E1:

=CEILING((MAX(A1:C1)/24)/52,TIME(0,15,0))

Formula in F1:

=CEILING((MAX(A1:C1)/24)/12,TIME(0,15,0))

Format E1:F1 as [h]:mm


--
Biff
Microsoft Excel MVP


"se7098" wrote in message
...
not sure what you mean by value.

what i am attempting to do is determine how many annual hours are spent
on
given tasks...some are performed daily, some weekly, some monthly
column a represents daily, column b - weekly, column c - monthly

so if a task is performed 3 times daily a "3" would be in column a...if
it
is performed 1 weekly a "1" would be in column b etc

it is only counted as either daily, weekly or monthly...never all 3

i want the result returned in column d which is my annual hours spent on
this task column

so if column a has a 3 in it then column b and c would both be blank

i want the formula in column d to look at columns a b & c find which one
has
a value then take that value and multiply it times 260 if found in column
a,
52 if found in column b or 12 if found in column c...am i asking for the
impossible?

then once i have the annual number of hours, i need to translate that
into
weekly hours and monthly hours...kind of calculated backwards if that
makes
and sense

so if column d = 18.00 hours...divide that by 52 for the weekly time
spent
on the task in column e and divide it by 12 for the monthly time spent in
column f

or if there is an easier way to get this all done i am very open to
suggestions. thanks!


"T. Valko" wrote:

Question 1:

Assuming the cells will only contain numbers...

Assuming the value is 10...

=10*IF(A1,260,IF(B1,52,IF(C1,12,0)))

Question 2: not following you on this one!

--
Biff
Microsoft Excel MVP


"se7098" wrote in message
...
i have a 2 part question:

i need a formula that will look for a value in a particular cell then
based
on which column it is found in multiply by the corresponding value to
return
the correct product

i.e., look across columns a, b & c...if it finds a number in a
multiply by
260 if it finds a number in column b multiply by 52 if it finds a
number
in
column c multiply by 12

there will never be a number in more than one column




2nd question...how can i translate a number into hours broken down by
quarters

18 hours*52 weeks = .346...i need .346 converted to hours or rounded
up to
the nearest quarter hour












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
ROUND UP HOURS to the next quarter hour SueSea Excel Discussion (Misc queries) 2 February 27th 08 11:35 PM
Drivers Hours Timesheet - Calculate Hours Worked on Weekly Basis Graham Excel Discussion (Misc queries) 2 January 28th 07 08:40 PM
create a timesheet to add daily and weekly hours and overtime molemo Excel Worksheet Functions 1 July 26th 06 08:03 AM
Excel Time Sheet - Rounding To Quarter Hours C A Excel Worksheet Functions 2 October 18th 05 07:21 PM
employee annual sick leave tracker with hours owing not used Melanie Excel Discussion (Misc queries) 0 July 21st 05 06:33 AM


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

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

About Us

"It's about Microsoft Excel"