Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 5
Default conditional statement; is that what i need to use?

MS Excel 2003

The spreadsheet is for determining the cost for books from a publisher. The
books are priced at a base price plus a price based on the number of
signatures. Pages added in bundles of 12 and these bundles are called
signatures. With 10 signatures or less the price is the base price + $5 per
signature. For more than 10 signatures, the price is base price + $20 per
signature. (The base price of the book already has one signature)

Where C2 is the number of signatures and B10 is the base price, here is the
equation I came up with:

=(B10+(C2-1)*5)

Is there an IF command I can add to this to make it work for signatures above
10? I'm losing sleep over this so any help is appreciated. Does anyone else
stay up until 2 AM trying to figure things out?

  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 5
Default conditional statement; is that what i need to use?

One more complication: For signatures above 10 there is a new base price.

(Is there an edit mode so the OP can edit his own message?)

vasi wrote:
MS Excel 2003

The spreadsheet is for determining the cost for books from a publisher. The
books are priced at a base price plus a price based on the number of
signatures. Pages added in bundles of 12 and these bundles are called
signatures. With 10 signatures or less the price is the base price + $5 per
signature. For more than 10 signatures, the price is base price + $20 per
signature. (The base price of the book already has one signature)

Where C2 is the number of signatures and B10 is the base price, here is the
equation I came up with:

=(B10+(C2-1)*5)

Is there an IF command I can add to this to make it work for signatures above
10? I'm losing sleep over this so any help is appreciated. Does anyone else
stay up until 2 AM trying to figure things out?


  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 209
Default conditional statement; is that what i need to use?

vasi wrote:
One more complication: For signatures above 10 there is a new base price.

(Is there an edit mode so the OP can edit his own message?)

vasi wrote:
MS Excel 2003

The spreadsheet is for determining the cost for books from a publisher. The
books are priced at a base price plus a price based on the number of
signatures. Pages added in bundles of 12 and these bundles are called
signatures. With 10 signatures or less the price is the base price + $5 per
signature. For more than 10 signatures, the price is base price + $20 per
signature. (The base price of the book already has one signature)

Where C2 is the number of signatures and B10 is the base price, here is the
equation I came up with:

=(B10+(C2-1)*5)

Is there an IF command I can add to this to make it work for signatures above
10? I'm losing sleep over this so any help is appreciated. Does anyone else
stay up until 2 AM trying to figure things out?



If you can put the base price for over ten in another cell say B11 then
something like this should work

=IF(C2<=10,(B10+(C2-1)*5),(B11+(C2-1)*20))
  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 5
Default conditional statement; is that what i need to use?

That didn't work, but maybe I'm not understanding the situation.

Could you state the formula in words so then maybe I can understand the
formula you offered? I've been using excel for only three days!

For signatures above 10, let's use a base price is 175, so according to their
price list, for a 12 signature book, the price should be 215; the formula
rendered a value of 395

Thank you very much for taking an interest in this and helping me!

vasi


gls858 wrote:
One more complication: For signatures above 10 there is a new base price.

[quoted text clipped - 17 lines]
10? I'm losing sleep over this so any help is appreciated. Does anyone else
stay up until 2 AM trying to figure things out?


If you can put the base price for over ten in another cell say B11 then
something like this should work

=IF(C2<=10,(B10+(C2-1)*5),(B11+(C2-1)*20))


  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 5
Default conditional statement; is that what i need to use?

I don't know why but when I assigned a value for B11 as -5, it renders the
correct value for all signatures. I would like to understand how this works,
but for now, i'm happy enough that it worked.

thank you

vasi

vasi wrote:
That didn't work, but maybe I'm not understanding the situation.

Could you state the formula in words so then maybe I can understand the
formula you offered? I've been using excel for only three days!

For signatures above 10, let's use a base price is 175, so according to their
price list, for a 12 signature book, the price should be 215; the formula
rendered a value of 395

Thank you very much for taking an interest in this and helping me!

vasi

One more complication: For signatures above 10 there is a new base price.

[quoted text clipped - 6 lines]

=IF(C2<=10,(B10+(C2-1)*5),(B11+(C2-1)*20))




  #6   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,480
Default conditional statement; is that what i need to use?

Hi
Try
=IF(C2<=10,(B10+(C2-1)*5),(B11+(C2-10)*20))

--
Regards
Roger Govier

"vasi" <u46978@uwe wrote in message news:8bce40d16e74d@uwe...
That didn't work, but maybe I'm not understanding the situation.

Could you state the formula in words so then maybe I can understand the
formula you offered? I've been using excel for only three days!

For signatures above 10, let's use a base price is 175, so according to
their
price list, for a 12 signature book, the price should be 215; the formula
rendered a value of 395

Thank you very much for taking an interest in this and helping me!

vasi


gls858 wrote:
One more complication: For signatures above 10 there is a new base
price.

[quoted text clipped - 17 lines]
10? I'm losing sleep over this so any help is appreciated. Does
anyone else
stay up until 2 AM trying to figure things out?


If you can put the base price for over ten in another cell say B11 then
something like this should work

=IF(C2<=10,(B10+(C2-1)*5),(B11+(C2-1)*20))


  #7   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 5
Default conditional statement; is that what i need to use?

Roger:

Your formula works perfectly! Thank you!

Now, please help me understand how it worked? Can you state the equation you
offered in words?

vasi

Roger Govier wrote:
Hi
Try
=IF(C2<=10,(B10+(C2-1)*5),(B11+(C2-10)*20))

That didn't work, but maybe I'm not understanding the situation.

[quoted text clipped - 22 lines]

=IF(C2<=10,(B10+(C2-1)*5),(B11+(C2-1)*20))


  #8   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 209
Default conditional statement; is that what i need to use?

Roger Govier wrote:
Hi
Try
=IF(C2<=10,(B10+(C2-1)*5),(B11+(C2-10)*20))

Thanks Roger. I see my mistake now

Vasi,

An if statement works like this

_If (Logical test, (value if true),(value if false))

So if sigs are less than or equal to 10 then the logical test is true
and first forumla is used if it's greater that ten the the test is fasle
and the second formula is used. Roger used C2-10 in the second formula
because the base there already included ten sigs.

gls858
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
CONDITIONAL STATEMENT BANJO Excel Worksheet Functions 2 March 31st 08 03:50 PM
Conditional If Statement Moz Excel Discussion (Misc queries) 2 December 1st 07 04:36 PM
Conditional Statement lbraddock Excel Worksheet Functions 0 July 16th 07 10:16 PM
conditional statement mjstizzle New Users to Excel 1 June 29th 05 05:18 PM
Conditional if statement Matt Stanley Excel Worksheet Functions 2 November 10th 04 04:47 AM


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