Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Excel 2003 IF AND question

I created a formula to identify a required referral for purchase orders using
nested IF statements. The formula works well until I reach the lower
authority levels where one employee (level 1) may have $10k authority before
referring to a region manager, but another (level 2) may have $30K before
referring to a region manager. The level 1 employee doesn't make a referral
to the level 2 employee at all. I've tried IF(AND statements but I'm having
difficulty. Suggestions??

Amount of purchase order $45,000
Employee Authority (1,2 or 3)

Authorization required if over $ :
VP Natl Mgr Division Mgr Region Mgr Region Mgr Region Mgr
$100,000 $75,000 $40,000 $30,000 $15,000 $10,000

Refer to : Division Mgr <---- Result

What I've tried:
=IF(A1A5,A4,IF(A1B5,B4,IF(A1C5,C4,IF(AND(A1D5, A2=3,D4)IF(AND(A1E5,A2=2,D4)IF(AND(A1F5,A2=1,D4) ,"Employee"))))))

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 846
Default Excel 2003 IF AND question

Can you re-arrange the data - example starting in cell a1 - G2
Reg mgr0 Reg mgr2 Reg mgr3 Reg mgr4 Div mgr Nat mgr VP
0 10,000 15,000 30,000 40,000 75,000 100,000

putting 45,000 in H3 and the following formula anywhere

=INDEX($A$1:$G$1,MATCH(H3,$A$2:$G$2))

Copy as needed



--
Wag more, bark less


"Ducklady" wrote:

I created a formula to identify a required referral for purchase orders using
nested IF statements. The formula works well until I reach the lower
authority levels where one employee (level 1) may have $10k authority before
referring to a region manager, but another (level 2) may have $30K before
referring to a region manager. The level 1 employee doesn't make a referral
to the level 2 employee at all. I've tried IF(AND statements but I'm having
difficulty. Suggestions??

Amount of purchase order $45,000
Employee Authority (1,2 or 3)

Authorization required if over $ :
VP Natl Mgr Division Mgr Region Mgr Region Mgr Region Mgr
$100,000 $75,000 $40,000 $30,000 $15,000 $10,000

Refer to : Division Mgr <---- Result

What I've tried:
=IF(A1A5,A4,IF(A1B5,B4,IF(A1C5,C4,IF(AND(A1D5, A2=3,D4)IF(AND(A1E5,A2=2,D4)IF(AND(A1F5,A2=1,D4) ,"Employee"))))))

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Excel 2003 IF AND question

Thank you, it's a good formula, but let's say I need to enter a name for the
region mgr. Picture the result as Steve 1, Steve 2, Steve 3. Doesn't make a
lot of sense. The result needs to look more formal. The employee will enter
their authority level elsewhere on the worksheet. The worksheet should then
tell them who to contact for referral, depending on their individual
authority level and the amount of the contract.

"Brad" wrote:

Can you re-arrange the data - example starting in cell a1 - G2
Reg mgr0 Reg mgr2 Reg mgr3 Reg mgr4 Div mgr Nat mgr VP
0 10,000 15,000 30,000 40,000 75,000 100,000

putting 45,000 in H3 and the following formula anywhere

=INDEX($A$1:$G$1,MATCH(H3,$A$2:$G$2))

Copy as needed



--
Wag more, bark less


"Ducklady" wrote:

I created a formula to identify a required referral for purchase orders using
nested IF statements. The formula works well until I reach the lower
authority levels where one employee (level 1) may have $10k authority before
referring to a region manager, but another (level 2) may have $30K before
referring to a region manager. The level 1 employee doesn't make a referral
to the level 2 employee at all. I've tried IF(AND statements but I'm having
difficulty. Suggestions??

Amount of purchase order $45,000
Employee Authority (1,2 or 3)

Authorization required if over $ :
VP Natl Mgr Division Mgr Region Mgr Region Mgr Region Mgr
$100,000 $75,000 $40,000 $30,000 $15,000 $10,000

Refer to : Division Mgr <---- Result

What I've tried:
=IF(A1A5,A4,IF(A1B5,B4,IF(A1C5,C4,IF(AND(A1D5, A2=3,D4)IF(AND(A1E5,A2=2,D4)IF(AND(A1F5,A2=1,D4) ,"Employee"))))))

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 846
Default Excel 2003 IF AND question


After reading your message, is this what you are looking for?

=IF(H6<10000,"No Authority needed",IF(H6<40000,IF(AND(H5=1,H610000),"Region
mgr",IF(AND(H5=2,H615000),"Region mgr",IF(AND(H5=3,H630000),"Region
mgr","No Authority needed"))),INDEX(E1:G1,MATCH(H6,E2:G2))))

Where H5 has the authority level and h6 = purchase order



--
Wag more, bark less


"Ducklady" wrote:

Thank you, it's a good formula, but let's say I need to enter a name for the
region mgr. Picture the result as Steve 1, Steve 2, Steve 3. Doesn't make a
lot of sense. The result needs to look more formal. The employee will enter
their authority level elsewhere on the worksheet. The worksheet should then
tell them who to contact for referral, depending on their individual
authority level and the amount of the contract.

"Brad" wrote:

Can you re-arrange the data - example starting in cell a1 - G2
Reg mgr0 Reg mgr2 Reg mgr3 Reg mgr4 Div mgr Nat mgr VP
0 10,000 15,000 30,000 40,000 75,000 100,000

putting 45,000 in H3 and the following formula anywhere

=INDEX($A$1:$G$1,MATCH(H3,$A$2:$G$2))

Copy as needed



--
Wag more, bark less


"Ducklady" wrote:

I created a formula to identify a required referral for purchase orders using
nested IF statements. The formula works well until I reach the lower
authority levels where one employee (level 1) may have $10k authority before
referring to a region manager, but another (level 2) may have $30K before
referring to a region manager. The level 1 employee doesn't make a referral
to the level 2 employee at all. I've tried IF(AND statements but I'm having
difficulty. Suggestions??

Amount of purchase order $45,000
Employee Authority (1,2 or 3)

Authorization required if over $ :
VP Natl Mgr Division Mgr Region Mgr Region Mgr Region Mgr
$100,000 $75,000 $40,000 $30,000 $15,000 $10,000

Refer to : Division Mgr <---- Result

What I've tried:
=IF(A1A5,A4,IF(A1B5,B4,IF(A1C5,C4,IF(AND(A1D5, A2=3,D4)IF(AND(A1E5,A2=2,D4)IF(AND(A1F5,A2=1,D4) ,"Employee"))))))

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 846
Default Excel 2003 IF AND question

This is a simplier formula that does the same thing
=IF(H6<10000,"No Authority
needed",IF(H6<40000,IF(OR(AND(H5=1,H610000),AND(H 5=2,H615000),AND(H5=3,H630000)),"Region mgr","No Authority needed"),INDEX(E1:G1,MATCH(H6,E2:G2))))
--
Wag more, bark less


"Brad" wrote:


After reading your message, is this what you are looking for?

=IF(H6<10000,"No Authority needed",IF(H6<40000,IF(AND(H5=1,H610000),"Region
mgr",IF(AND(H5=2,H615000),"Region mgr",IF(AND(H5=3,H630000),"Region
mgr","No Authority needed"))),INDEX(E1:G1,MATCH(H6,E2:G2))))

Where H5 has the authority level and h6 = purchase order



--
Wag more, bark less


"Ducklady" wrote:

Thank you, it's a good formula, but let's say I need to enter a name for the
region mgr. Picture the result as Steve 1, Steve 2, Steve 3. Doesn't make a
lot of sense. The result needs to look more formal. The employee will enter
their authority level elsewhere on the worksheet. The worksheet should then
tell them who to contact for referral, depending on their individual
authority level and the amount of the contract.

"Brad" wrote:

Can you re-arrange the data - example starting in cell a1 - G2
Reg mgr0 Reg mgr2 Reg mgr3 Reg mgr4 Div mgr Nat mgr VP
0 10,000 15,000 30,000 40,000 75,000 100,000

putting 45,000 in H3 and the following formula anywhere

=INDEX($A$1:$G$1,MATCH(H3,$A$2:$G$2))

Copy as needed



--
Wag more, bark less


"Ducklady" wrote:

I created a formula to identify a required referral for purchase orders using
nested IF statements. The formula works well until I reach the lower
authority levels where one employee (level 1) may have $10k authority before
referring to a region manager, but another (level 2) may have $30K before
referring to a region manager. The level 1 employee doesn't make a referral
to the level 2 employee at all. I've tried IF(AND statements but I'm having
difficulty. Suggestions??

Amount of purchase order $45,000
Employee Authority (1,2 or 3)

Authorization required if over $ :
VP Natl Mgr Division Mgr Region Mgr Region Mgr Region Mgr
$100,000 $75,000 $40,000 $30,000 $15,000 $10,000

Refer to : Division Mgr <---- Result

What I've tried:
=IF(A1A5,A4,IF(A1B5,B4,IF(A1C5,C4,IF(AND(A1D5, A2=3,D4)IF(AND(A1E5,A2=2,D4)IF(AND(A1F5,A2=1,D4) ,"Employee"))))))



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Excel 2003 IF AND question

That's it! Thank you Brad!!!

"Brad" wrote:


After reading your message, is this what you are looking for?

=IF(H6<10000,"No Authority needed",IF(H6<40000,IF(AND(H5=1,H610000),"Region
mgr",IF(AND(H5=2,H615000),"Region mgr",IF(AND(H5=3,H630000),"Region
mgr","No Authority needed"))),INDEX(E1:G1,MATCH(H6,E2:G2))))

Where H5 has the authority level and h6 = purchase order



--
Wag more, bark less


"Ducklady" wrote:

Thank you, it's a good formula, but let's say I need to enter a name for the
region mgr. Picture the result as Steve 1, Steve 2, Steve 3. Doesn't make a
lot of sense. The result needs to look more formal. The employee will enter
their authority level elsewhere on the worksheet. The worksheet should then
tell them who to contact for referral, depending on their individual
authority level and the amount of the contract.

"Brad" wrote:

Can you re-arrange the data - example starting in cell a1 - G2
Reg mgr0 Reg mgr2 Reg mgr3 Reg mgr4 Div mgr Nat mgr VP
0 10,000 15,000 30,000 40,000 75,000 100,000

putting 45,000 in H3 and the following formula anywhere

=INDEX($A$1:$G$1,MATCH(H3,$A$2:$G$2))

Copy as needed



--
Wag more, bark less


"Ducklady" wrote:

I created a formula to identify a required referral for purchase orders using
nested IF statements. The formula works well until I reach the lower
authority levels where one employee (level 1) may have $10k authority before
referring to a region manager, but another (level 2) may have $30K before
referring to a region manager. The level 1 employee doesn't make a referral
to the level 2 employee at all. I've tried IF(AND statements but I'm having
difficulty. Suggestions??

Amount of purchase order $45,000
Employee Authority (1,2 or 3)

Authorization required if over $ :
VP Natl Mgr Division Mgr Region Mgr Region Mgr Region Mgr
$100,000 $75,000 $40,000 $30,000 $15,000 $10,000

Refer to : Division Mgr <---- Result

What I've tried:
=IF(A1A5,A4,IF(A1B5,B4,IF(A1C5,C4,IF(AND(A1D5, A2=3,D4)IF(AND(A1E5,A2=2,D4)IF(AND(A1F5,A2=1,D4) ,"Employee"))))))

  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 846
Default Excel 2003 IF AND question

Having problem getting my posts to stick -

=IF(H6<10000,"No Authority
needed",IF(H6<40000,IF(OR(AND(H5=1,H610000),AND(H 5=2,H615000),AND(H5=3,H630000)),"Region mgr","No Authority needed"),INDEX(E1:G1,MATCH(H6,E2:G2))))

Does the same things as my previous post - but less if statements
--
Wag more, bark less


"Ducklady" wrote:

Thank you, it's a good formula, but let's say I need to enter a name for the
region mgr. Picture the result as Steve 1, Steve 2, Steve 3. Doesn't make a
lot of sense. The result needs to look more formal. The employee will enter
their authority level elsewhere on the worksheet. The worksheet should then
tell them who to contact for referral, depending on their individual
authority level and the amount of the contract.

"Brad" wrote:

Can you re-arrange the data - example starting in cell a1 - G2
Reg mgr0 Reg mgr2 Reg mgr3 Reg mgr4 Div mgr Nat mgr VP
0 10,000 15,000 30,000 40,000 75,000 100,000

putting 45,000 in H3 and the following formula anywhere

=INDEX($A$1:$G$1,MATCH(H3,$A$2:$G$2))

Copy as needed



--
Wag more, bark less


"Ducklady" wrote:

I created a formula to identify a required referral for purchase orders using
nested IF statements. The formula works well until I reach the lower
authority levels where one employee (level 1) may have $10k authority before
referring to a region manager, but another (level 2) may have $30K before
referring to a region manager. The level 1 employee doesn't make a referral
to the level 2 employee at all. I've tried IF(AND statements but I'm having
difficulty. Suggestions??

Amount of purchase order $45,000
Employee Authority (1,2 or 3)

Authorization required if over $ :
VP Natl Mgr Division Mgr Region Mgr Region Mgr Region Mgr
$100,000 $75,000 $40,000 $30,000 $15,000 $10,000

Refer to : Division Mgr <---- Result

What I've tried:
=IF(A1A5,A4,IF(A1B5,B4,IF(A1C5,C4,IF(AND(A1D5, A2=3,D4)IF(AND(A1E5,A2=2,D4)IF(AND(A1F5,A2=1,D4) ,"Employee"))))))

  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 905
Default Excel 2003 IF AND question

"Ducklady" wrote:
What I've tried:
=IF(A1A5,A4,IF(A1B5,B4,IF(A1C5,C4,
IF(AND(A1D5,A2=3,D4)IF(AND(A1E5,A2=2,D4)
IF(AND(A1F5,A2=1,D4),"Employee"))))))


Based on the logic that you tried to express above, I infer that the
signature authority depends on a combination of the the dollar amount and, at
some levels, the authority of the employee handling the transaction.

The simplest approach might be simply to correct your syntax and tighten the
logic. It should be:

=IF(A1A5, A4, IF(A1B5, B4, IF(A1C5, C4,
IF(OR(AND(A1D5,A2=3),AND(A1E5,A2=2),AND(A1F5,A2 =1)),
D4, "Employee"))))

There might be better ways to do this. For example, if A2 is always 1, 2 or
3 when A1<=C5, then:

=IF(A1A5, A4, IF(A1B5, B4, IF(A1C5, C4,
IF(A1CHOOSE(A2,D5,E5,F5), D4, "Employee"))))


----- original message -----

"Ducklady" wrote:
I created a formula to identify a required referral for purchase orders using
nested IF statements. The formula works well until I reach the lower
authority levels where one employee (level 1) may have $10k authority before
referring to a region manager, but another (level 2) may have $30K before
referring to a region manager. The level 1 employee doesn't make a referral
to the level 2 employee at all. I've tried IF(AND statements but I'm having
difficulty. Suggestions??

Amount of purchase order $45,000
Employee Authority (1,2 or 3)

Authorization required if over $ :
VP Natl Mgr Division Mgr Region Mgr Region Mgr Region Mgr
$100,000 $75,000 $40,000 $30,000 $15,000 $10,000

Refer to : Division Mgr <---- Result

What I've tried:
=IF(A1A5,A4,IF(A1B5,B4,IF(A1C5,C4,IF(AND(A1D5, A2=3,D4)IF(AND(A1E5,A2=2,D4)IF(AND(A1F5,A2=1,D4) ,"Employee"))))))

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 2003 Sum question KeithSimon Excel Discussion (Misc queries) 2 June 18th 09 08:47 PM
Excel 2003 Question Andrea Excel Discussion (Misc queries) 5 April 17th 09 04:50 AM
Question for MVP - install Excel 2003 on MS Server 2003 WCM Setting up and Configuration of Excel 4 February 13th 08 06:59 PM
Excel 2003 Question Marilyn Excel Discussion (Misc queries) 0 December 22nd 06 08:24 PM
excel 2003 question CorinDarksoul Excel Worksheet Functions 5 June 26th 06 05:05 PM


All times are GMT +1. The time now is 04:50 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"