Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
thisguy
 
Posts: n/a
Default our cost to customers cost

in one cell would like to display our cost, in another the formula for cust.
cost. the formula only works on the high end and the low end, everything in
the mid. won't work,can anyone please help me out ?

=IF(A150,A1*1.4,A1*1.55,IF(A1<25,A1*1.8,IF(A1<6,A 1*2.45,IF(A1<5,A1*2.85,
IF(A1<3,A1*3.25,IF(A1<1,A1*5.8,A1*4))))))

Would I need an = infront of each IF statement ?

  #2   Report Post  
RagDyer
 
Posts: n/a
Default

At the end of your formula, what is the condition that gets multiplied by 4?

Besides that, with the number of variables, it would be best to create a
data list, perhaps in an out-of-the-way location on your sheet, and refer to
it to return the customer cost.

Say in J1 to J7 you enter:
0, 1, 3, 5, 6, 25, 50

And in K1 to K7 you enter:
5.8, 3.25, 2.85, 2.45, 1.8, 1.55, 1.4

Then try this formula:

=A1*LOOKUP(A1,J1:J7,K1:K7)

--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================



"thisguy" wrote in message
...
in one cell would like to display our cost, in another the formula for

cust.
cost. the formula only works on the high end and the low end, everything

in
the mid. won't work,can anyone please help me out ?

=IF(A150,A1*1.4,A1*1.55,IF(A1<25,A1*1.8,IF(A1<6,A 1*2.45,IF(A1<5,A1*2.85,
IF(A1<3,A1*3.25,IF(A1<1,A1*5.8,A1*4))))))

Would I need an = infront of each IF statement ?


  #3   Report Post  
thisguy
 
Posts: n/a
Default

Is there a wy of doing it
=IF(25<A1<50,A1*1.55,IF(6<A1<25,A1*1.8,IF(4<A1<6,A 1*2.65,IF(2<A1<4,A1*3.62,IF(A150,A1*1.4,

Could something like this work ? or would a look up table still be a better
bet ?


"RagDyer" wrote:

At the end of your formula, what is the condition that gets multiplied by 4?

Besides that, with the number of variables, it would be best to create a
data list, perhaps in an out-of-the-way location on your sheet, and refer to
it to return the customer cost.

Say in J1 to J7 you enter:
0, 1, 3, 5, 6, 25, 50

And in K1 to K7 you enter:
5.8, 3.25, 2.85, 2.45, 1.8, 1.55, 1.4

Then try this formula:

=A1*LOOKUP(A1,J1:J7,K1:K7)

--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================



"thisguy" wrote in message
...
in one cell would like to display our cost, in another the formula for

cust.
cost. the formula only works on the high end and the low end, everything

in
the mid. won't work,can anyone please help me out ?

=IF(A150,A1*1.4,A1*1.55,IF(A1<25,A1*1.8,IF(A1<6,A 1*2.45,IF(A1<5,A1*2.85,
IF(A1<3,A1*3.25,IF(A1<1,A1*5.8,A1*4))))))

Would I need an = infront of each IF statement ?



  #4   Report Post  
RagDyeR
 
Posts: n/a
Default

A table is better.

BUT, *if you insist*, you can include it within the formula itself:

=A1*LOOKUP(A1,{0,1,3,5,6,25,50;5.8,3.25,2.85,2.45, 1.8,1.55,1.4})
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================


"thisguy" wrote in message
...
Is there a wy of doing it
=IF(25<A1<50,A1*1.55,IF(6<A1<25,A1*1.8,IF(4<A1<6,A 1*2.65,IF(2<A1<4,A1*3.62,I
F(A150,A1*1.4,

Could something like this work ? or would a look up table still be a better
bet ?


"RagDyer" wrote:

At the end of your formula, what is the condition that gets multiplied by

4?

Besides that, with the number of variables, it would be best to create a
data list, perhaps in an out-of-the-way location on your sheet, and refer

to
it to return the customer cost.

Say in J1 to J7 you enter:
0, 1, 3, 5, 6, 25, 50

And in K1 to K7 you enter:
5.8, 3.25, 2.85, 2.45, 1.8, 1.55, 1.4

Then try this formula:

=A1*LOOKUP(A1,J1:J7,K1:K7)

--
HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================



"thisguy" wrote in message
...
in one cell would like to display our cost, in another the formula for

cust.
cost. the formula only works on the high end and the low end, everything

in
the mid. won't work,can anyone please help me out ?


=IF(A150,A1*1.4,A1*1.55,IF(A1<25,A1*1.8,IF(A1<6,A 1*2.45,IF(A1<5,A1*2.85,
IF(A1<3,A1*3.25,IF(A1<1,A1*5.8,A1*4))))))

Would I need an = infront of each IF statement ?





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
our cost to customers cost thisguy Excel Worksheet Functions 2 July 15th 05 03:38 AM
How many different customers in a list? cathcarr1 Excel Worksheet Functions 4 July 14th 05 01:02 PM
Confusion on adding percentage of cost to that cost. [email protected] Excel Worksheet Functions 12 July 13th 05 11:45 PM
What Bus. templete do I use for daily cost w/ daily & cum cost ? Mary Massengale Excel Discussion (Misc queries) 0 May 3rd 05 05:32 PM
Comparing 2 Customer Lists to Identify Shared Customers carl Excel Worksheet Functions 2 January 26th 05 07:17 PM


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