Calculate 3 figures based on one amount in one cell

Martinw

New Member
Joined
Jun 11, 2008
Messages
2
I need a formula that allows the following:
A1 - Enter in number of kilometers
B1, C1 & D1 need to show break up of figure in A1 AS Follows
B1 = 200kms (constant)
C1 = 200kms to 800kms
D1 = 800kms plus

e.g.
A1=1565
B1= 200
C1= 600
D1= 765
or
A1=565
B1=200
C1=365
D1='0'
Must not show any negative numbers
Hope you can help..:confused:
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Hi Martin,

In B1 use:
=IF(A1>200,200,A1)

In C1 use (revised):
=IF(A1>800,600,IF(A1>200,A1-200,0))

In D1 use:
=IF(A1>800,A1-800,0)

Hope that helps.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,643
Messages
6,120,702
Members
448,980
Latest member
CarlosWin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top