Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
anam_cara
 
Posts: n/a
Default create multiple formulas in 1 cell

I am trying to create a formula for rent purposes of a hotel.
I want the formula to add 7 days to the date for every $75, add 14 days for
$150 etc.
I know the basic formula eg =A4+7*(B4=75)
But how do I make add the others also without multiplying the first ones?
If I type in =A4+7*(B4=75) then try to type in the rest A4+14*(B4=150)
It will only give me the true result of the last one and multiply the first
HELP Please???
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

If I understand you correctly:

=A4 + 7 * INT(B4/75)

In article ,
anam_cara wrote:

I am trying to create a formula for rent purposes of a hotel.
I want the formula to add 7 days to the date for every $75, add 14 days for
$150 etc.
I know the basic formula eg =A4+7*(B4=75)
But how do I make add the others also without multiplying the first ones?
If I type in =A4+7*(B4=75) then try to type in the rest A4+14*(B4=150)
It will only give me the true result of the last one and multiply the first
HELP Please???

  #3   Report Post  
Alok
 
Posts: n/a
Default

Hi,

I think you are looking for the following formula
=A4+(B4*7/75)
This assumes that certain number of days is already present in A4. Then
based on B4 you add 7 days for every $75.Hence if B4 is 75 then you add 7
days if it is 150 then the formua adds 14 days and so on.(It also adds
fractional days, but since your question did not specify how that has to be
taken care of, I did not provide a solution for that.)

Alok Joshi

"anam_cara" wrote:

I am trying to create a formula for rent purposes of a hotel.
I want the formula to add 7 days to the date for every $75, add 14 days for
$150 etc.
I know the basic formula eg =A4+7*(B4=75)
But how do I make add the others also without multiplying the first ones?
If I type in =A4+7*(B4=75) then try to type in the rest A4+14*(B4=150)
It will only give me the true result of the last one and multiply the first
HELP Please???

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
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM
Multiple lines in 1 cell Zach F Excel Discussion (Misc queries) 2 April 14th 05 04:58 PM
can i create multiple columns from the info in one cell HawaiianTux Excel Discussion (Misc queries) 2 April 11th 05 05:50 PM
How to create Multiple Conditional Formulas in a single cell? Maxfx Excel Discussion (Misc queries) 2 February 1st 05 02:26 PM
Using the results from two seperate cells to create cell reference DarrenWood Excel Worksheet Functions 2 November 14th 04 10:35 PM


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