Formula Help??

Jav_uk8

New Member
Joined
Jan 12, 2017
Messages
22
Hi All,

Hi All,

I need a formula to calculate the following in column D (example of returned info in there):

Only bring across the cost (Col C) info from Red (Col A) that is more than £5.00, all others show 0 inc Red, Blue and Green.

I need it for a summary at the bottom (if possible) or could assign to each column D, which I could SUM at the bottom.

Hope this makes sense?


[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[/TR]
[TR]
[TD="align: center"]1[/TD]
[TD="align: center"]Red[/TD]
[TD="align: center"][/TD]
[TD="align: center"]£2.29[/TD]
[TD="align: center"]£2.29[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]Blue[/TD]
[TD="align: center"][/TD]
[TD="align: center"]£5.14[/TD]
[TD="align: center"]£0[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]Blue[/TD]
[TD="align: center"][/TD]
[TD="align: center"]£1.01[/TD]
[TD="align: center"]£0[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]Red[/TD]
[TD="align: center"][/TD]
[TD="align: center"]£5.85[/TD]
[TD="align: center"]£5.85[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]Green[/TD]
[TD="align: center"][/TD]
[TD="align: center"]£10.47[/TD]
[TD="align: center"]£0[/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD="align: center"]Red[/TD]
[TD="align: center"][/TD]
[TD="align: center"]£9.05[/TD]
[TD="align: center"]£9.05[/TD]
[/TR]
</tbody>[/TABLE]

Cheers
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Sorry special, I think youve misinterpreted the request. The formula needed I think is =IF(AND(A1="Red",C1>5),C1,0) - but that would only be right if the value in D1 was supposed to be 0.
 
Upvote 0
Hi Special-K99,

Your formula returns the correct value but I only need the formula to return >£5.00 for Reds only.
 
Last edited:
Upvote 0
Hi All,

Thanks for your replies, it has now come to light that I need to show the value from a sum that is >£5.00

Example - Sum of £5.05 (Col C) MINUS £5.00 (Col E), which returns the value of £0.05. Again only applying to Reds and the rest showing "0"
 
Last edited:
Upvote 0
Try this: =IF(AND(A1="Red",(C1-E1)>5),C1-E1,0)
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,159
Members
453,021
Latest member
Justyna P

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