multiple conditions in excel

Fmedia

New Member
Joined
Oct 10, 2006
Messages
7
Hi Guys

I have yet another problem to test you with.

I have an excel sheet which pulls in monthly sales data to another spreadsheet. The contracts usually last for 12 months and are all equal except sometimes the first month has a set up fee. I would like to know if this can be done with an excel formula or it has to be done in Microsoft Visual. Either way, if somebody knows how to do it id be most grateful.

Structure of question:

-IF the set up fee equals yes, and the two months corrolate, enter the set up value.
-If the set up fee equals yes but the two months dont corrolate, enter total order value minus the set up fee divided by duration of contract minus one month.
-if set up fee equals no, enter total order value divided by duration of contract.

I have made a start and got this much in :
=IF(AND(current month='start month of contract,'set up fee="yes"),set up amount)
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

RalphA

Well-known Member
Joined
May 14, 2003
Messages
3,829
Try something like this, after substituting the appropriate cells:

=IF(cell with set up fee="yes",IF(MONTH(NOW())=MONTH(cell with set up date),cell with setup amount,cell set up value,cell w/ total order - cell with set up fee)/(cell with contract duration - 1))
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,168,030
Messages
5,856,935
Members
431,841
Latest member
jaybeem

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
Top