Using an If formula to calculate benefits

Amandac6772

New Member
Joined
Jun 16, 2011
Messages
32
I am trying to get a formula to calculate on an "IF" basis. I want retirement to calculate if the cell is blank, if the cell has a three in it then I want it to be <?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /><v:rect style="Z-INDEX: 1; POSITION: absolute; WIDTH: 1071.49pt; HEIGHT: 490.21pt; TOP: 94.5pt; LEFT: 94.5pt; mso-wrap-distance-left: 2.88pt; mso-wrap-distance-top: 2.88pt; mso-wrap-distance-right: 2.88pt; mso-wrap-distance-bottom: 2.88pt" id=_x0000_s1025 o:cliptowrap="t" insetpen="t" strokecolor="black [0]" stroked="f" fillcolor="white [7]" filled="f" o:preferrelative="t"> <v:fill color2="white [7]"></v:fill><v:stroke color2="white [7]"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:left color2="white [7]" color="black [0]" v:ext="view"></o:left><o:top color2="white [7]" color="black [0]" v:ext="view"></o:top><o:right color2="white [7]" color="black [0]" v:ext="view"></o:right><o:bottom color2="white [7]" color="black [0]" v:ext="view"></o:bottom><o:column color2="white [7]" color="black [0]" v:ext="view"></o:column></v:stroke><v:imagedata o:title="" src="file:///C:\DOCUME~1\AMANDA~1.COL\LOCALS~1\Temp\msohtmlclip1\01\clip_image001.png"></v:imagedata><v:shadow color="#ccc [4]"></v:shadow><v:path o:extrusionok="f"></v:path><o:lock v:ext="edit" aspectratio="t"></o:lock></v:rect>0. The retirement rate is in a set cell. I tried to copy and paste it but I couldn't get it to paste. The gist of it is I want it to calculate =if(n6=3,0, if(n6="blank", (O6+S6)*$q$2))<v:rect style="Z-INDEX: 1; POSITION: absolute; WIDTH: 841.5pt; HEIGHT: 171pt; TOP: 229.5pt; LEFT: 90pt; mso-wrap-distance-left: 2.88pt; mso-wrap-distance-top: 2.88pt; mso-wrap-distance-right: 2.88pt; mso-wrap-distance-bottom: 2.88pt" id=_x0000_s1027 o:cliptowrap="t" insetpen="t" strokecolor="black [0]" stroked="f" fillcolor="white [7]" filled="f" o:preferrelative="t"> <v:fill color2="white [7]"></v:fill><v:stroke color2="white [7]"><o:left color2="white [7]" color="black [0]" v:ext="view"></o:left><o:top color2="white [7]" color="black [0]" v:ext="view"></o:top><o:right color2="white [7]" color="black [0]" v:ext="view"></o:right><o:bottom color2="white [7]" color="black [0]" v:ext="view"></o:bottom><o:column color2="white [7]" color="black [0]" v:ext="view"></o:column></v:stroke><v:imagedata o:title="" src="file:///C:\DOCUME~1\AMANDA~1.COL\LOCALS~1\Temp\msohtmlclip1\01\clip_image001.png" cropright="14067f" cropbottom="33050f" croptop="9625f"></v:imagedata><v:shadow color="#ccc [4]"></v:shadow><v:path o:extrusionok="f"></v:path><o:lock v:ext="edit" aspectratio="t"></o:lock></v:rect>

Any help would be appreciated!!
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Welcome to the board. I think this is what you're after:
Code:
=IF(N6=3,0,IF(ISBLANK(N6),$Q$2*(O6+S6))
You haven't, however, stated what happens if N6 is not blank and is not equal to 3, if that happens, you'll get a value of FALSE
 
Upvote 0

Forum statistics

Threads
1,224,544
Messages
6,179,430
Members
452,915
Latest member
hannnahheileen

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