# year, month formula

#### deedee88

##### Board Regular
Hi,

I am having problems with the below formula, is not returning the if portion if the year matches.

IF(YEAR(H\$6)=\$S25,\$Q25*\$T25/12*MONTH(\$S25)+\$Q25*\$U25/12*12-MONTH(\$S25),\$Q25*\$U25)

Thanks,

### Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.

#### chetanmehra1989

##### Board Regular
can you please elbrorate with the example.... don't put a formula.....

Replies
12
Views
467
Replies
10
Views
602
Replies
1
Views
242
Replies
0
Views
267
Replies
9
Views
245

1,191,225
Messages
5,985,366
Members
439,960
Latest member
Musa_dabban

### 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.

### Which adblocker are you using?

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

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