![]() |
SUMIF (embedded if???)
I need help with a sumif. This is what i have: Column B (range 1:5) has
numbers. I would like a formula to say if the numbers are greater than 256, then add the number greater than 256 minus 256 and then produce a sum of the "excess". A B 1 5 2 10 3 300 4 258 5 500 6 7 **** = this should come up with 290 (300-256=44; 500-256=244;258- 256=2 **so far i have =sumif(B1:B5,"256", Thanks for your help in advance. |
SUMIF (embedded if???)
Look at SUMPRODUCT.
Here's more info: http://www.meadinkent.co.uk/xlsumproduct.htm -- Brevity is the soul of wit. "Daniel Q." wrote: I need help with a sumif. This is what i have: Column B (range 1:5) has numbers. I would like a formula to say if the numbers are greater than 256, then add the number greater than 256 minus 256 and then produce a sum of the "excess". A B 1 5 2 10 3 300 4 258 5 500 6 7 **** = this should come up with 290 (300-256=44; 500-256=244;258- 256=2 **so far i have =sumif(B1:B5,"256", Thanks for your help in advance. |
SUMIF (embedded if???)
Try this:
=SUMIF(B1:B5,"256")-(COUNTIF(B1:B5,"256")*256) "Daniel Q." wrote: I need help with a sumif. This is what i have: Column B (range 1:5) has numbers. I would like a formula to say if the numbers are greater than 256, then add the number greater than 256 minus 256 and then produce a sum of the "excess". A B 1 5 2 10 3 300 4 258 5 500 6 7 **** = this should come up with 290 (300-256=44; 500-256=244;258- 256=2 **so far i have =sumif(B1:B5,"256", Thanks for your help in advance. |
All times are GMT +1. The time now is 03:03 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com