Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 493
Default Nesting named formulas

I want to go around the maximum of 7 nested functions in Excel. I have
created two named formulas as described on
http://www.cpearson.com/excel/nested.htm

When I use these formulas ('tcvoorw' and 'tcvoorw2') separate they both work
fine. But, when I nest the formulas by using =IF(tcvoorw,tcvoorw,tcvoorw2) it
doesn't. Only the first part of the formula works, in this case tcvoorw. When
I enter a one of the arguments of formula tcvoorw2 the result is an empty
cell.

Ideas, anyone?

Formula tcvoorw:

=IF((Timesheet!E3="U"),50,if((Timesheet!E3="O"),33 ,IF((Timesheet!E3="PR"),13,IF((Timesheet!E3="T
"),13,IF((Timesheet!E3="A"),33,IF((Timesheet!E3="B "),33,IF((Timesheet!E3="P"),13,IF((Timesheet!E 3="R"),25,""))))))))/60*Timesheet!D3

Formula tcvoorw2:

=IF((Timesheet!E3="Z"),40,IF((Timesheet!E3="Y"),33 ,IF((Timesheet!E3="X"),13,IF((Timesheet!E3="Q"
),13,IF((Timesheet!E3="W"),33,ALS((Timesheet!E3="F "),33,IF((Timesheet!E3="G"),13,IF((Timesheet!E 3 ="H"),40,""))))))))/60*Timesheet!D3


Thanks!

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Nesting named formulas

How about using a simpler, extendible formula

=LOOKUP(E3,{"A",33;"B",33;"O",33;"PR",13;"R",25;"T ",13;"U",50})/60*TimeSheet!D3

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Alex" wrote in message
...
I want to go around the maximum of 7 nested functions in Excel. I have
created two named formulas as described on
http://www.cpearson.com/excel/nested.htm

When I use these formulas ('tcvoorw' and 'tcvoorw2') separate they both
work
fine. But, when I nest the formulas by using =IF(tcvoorw,tcvoorw,tcvoorw2)
it
doesn't. Only the first part of the formula works, in this case tcvoorw.
When
I enter a one of the arguments of formula tcvoorw2 the result is an empty
cell.

Ideas, anyone?

Formula tcvoorw:

=IF((Timesheet!E3="U"),50,if((Timesheet!E3="O"),33 ,IF((Timesheet!E3="PR"),13,IF((Timesheet!E3="T
"),13,IF((Timesheet!E3="A"),33,IF((Timesheet!E3="B "),33,IF((Timesheet!E3="P"),13,IF((Timesheet!E
3="R"),25,""))))))))/60*Timesheet!D3

Formula tcvoorw2:

=IF((Timesheet!E3="Z"),40,IF((Timesheet!E3="Y"),33 ,IF((Timesheet!E3="X"),13,IF((Timesheet!E3="Q"
),13,IF((Timesheet!E3="W"),33,ALS((Timesheet!E3="F "),33,IF((Timesheet!E3="G"),13,IF((Timesheet!E 3
="H"),40,""))))))))/60*Timesheet!D3


Thanks!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 493
Default Nesting named formulas

That's the answer!!! Thanks!

"Bob Phillips" wrote:

How about using a simpler, extendible formula

=LOOKUP(E3,{"A",33;"B",33;"O",33;"PR",13;"R",25;"T ",13;"U",50})/60*TimeSheet!D3

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

"Alex" wrote in message
...
I want to go around the maximum of 7 nested functions in Excel. I have
created two named formulas as described on
http://www.cpearson.com/excel/nested.htm

When I use these formulas ('tcvoorw' and 'tcvoorw2') separate they both
work
fine. But, when I nest the formulas by using =IF(tcvoorw,tcvoorw,tcvoorw2)
it
doesn't. Only the first part of the formula works, in this case tcvoorw.
When
I enter a one of the arguments of formula tcvoorw2 the result is an empty
cell.

Ideas, anyone?

Formula tcvoorw:

=IF((Timesheet!E3="U"),50,if((Timesheet!E3="O"),33 ,IF((Timesheet!E3="PR"),13,IF((Timesheet!E3="T
"),13,IF((Timesheet!E3="A"),33,IF((Timesheet!E3="B "),33,IF((Timesheet!E3="P"),13,IF((Timesheet!E
3="R"),25,""))))))))/60*Timesheet!D3

Formula tcvoorw2:

=IF((Timesheet!E3="Z"),40,IF((Timesheet!E3="Y"),33 ,IF((Timesheet!E3="X"),13,IF((Timesheet!E3="Q"
),13,IF((Timesheet!E3="W"),33,ALS((Timesheet!E3="F "),33,IF((Timesheet!E3="G"),13,IF((Timesheet!E 3
="H"),40,""))))))))/60*Timesheet!D3


Thanks!




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
Excel formulas to show expanded nesting DasVimble Excel Discussion (Misc queries) 3 August 28th 07 05:12 PM
nesting formulas Vladimir Excel Worksheet Functions 1 September 7th 06 09:25 PM
Nesting SUMIF formulas Todd Excel Worksheet Functions 6 June 7th 06 12:15 PM
nesting conditional formulas Nancy Excel Worksheet Functions 3 January 16th 06 05:21 PM
Nesting Formulas PLCProgrammer Excel Worksheet Functions 2 February 3rd 05 10:29 PM


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

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"