Formula for value betweens cells

Blackwell

Board Regular
Joined
Oct 19, 2007
Messages
96
Office Version
  1. 2016
Platform
  1. Windows
Hello, I am trying to find a formula for three cells. The first cell A1 £2700. The second cell, A2 £3,142 and the third cell A3 £10428.
If A1 value is between cells A2:A3 then input the value in A4. If not then 0 in A4.
A1 £2,700
A2 £3,142
A3 £10,428
A4 0

A1 £5,400
A2 £3,142
A3 £10,428
A4 £5,400
I hope I have explained ok. Thank you.
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Hi,
You can test for cell A4 following formula
Excel Formula:
=IF(AND(A1>A2,A1<A3),A1,0)
 
Upvote 0
Solution

Forum statistics

Threads
1,215,022
Messages
6,122,726
Members
449,093
Latest member
Mnur

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