Excel Formula Help-If Statement

acool

Board Regular
Joined
Feb 10, 2023
Messages
121
Office Version
  1. 365
Platform
  1. Windows
Hi Everyone,

I am currently experiencing an issue with an if-statement formula that I am working on and was hoping to receive some help. In the current Data set shown, I am calculating a New Fee in Column C using the formula in the formula bar. After calculating this fee I am then multiplying this number by the number of returns per month to get the value in Column D. I am them summing all of these values in column D and multiplying by 12 to get the total value for the Year (D19). I was was hoping someone could help me create a formula which calculates the value for the year (D19) without using the values in Column D. I would somehow like to create a Sum product formula using Columns A, B and the formula in the formula bar to arrive at the value in D19. I'm trying to eliminate the Columns C & D and trying to fit everything into one formula. Any help would be greatly appreciated! Thank You!
1683304720688.png
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
What is the formula in col D, as the values shown & your description do not match.
 
Upvote 0
try:
Excel Formula:
=SUMPRODUCT(($B$2:$B$8),ROUND(IF($A2:$A8*$E$1>5,5,$A2:$A8*E$1),2))
 
Upvote 0
try:
Excel Formula:
=SUMPRODUCT(($B$2:$B$8),ROUND(IF($A2:$A8*$E$1>5,5,$A2:$A8*E$1),2))
you will have to drag your cells down to complete your range formula.

i also put a rounding function in. take it out if you don't think necessary.
 
Upvote 0
Really? Then how do you get 0*5=1.5 or any of the others?
Sorry, forgot to mention that the decimals are collapsed, and values are rounded to the nearest whole number!
 
Upvote 0
you will have to drag your cells down to complete your range formula.

i also put a rounding function in. take it out if you don't think necessary.
try:
Excel Formula:
=SUMPRODUCT(($B$2:$B$8),ROUND(IF($A2:$A8*$E$1>5,5,$A2:$A8*E$1),2))
For some reason, when I enter the formula above I am get a value of 202 as opposed to 2426.86. Not sure if I am doing something wrong here
 
Upvote 0
Sorry, forgot to mention that the decimals are collapsed, and values are rounded to the nearest whole number!
I can't anderstand how, in cell D2, you have 1,5, if you're multiplying B2*C2... B2 is 0, so, D2 should be 0?

Decimals colapsed, rounded, or not...the result should be 0?
 
Upvote 0
forgot to mention that the decimals are collapsed, and values are rounded to the nearest whole number!
That does not explain the result you are showing.

Can you post your data to the board.

MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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