IF Statements

Brentwood

New Member
Joined
Mar 25, 2018
Messages
8
Hi,

I currently have a query about a formula that i have designed.

<d$27,vlookup($c$18,$b$13:$d$15,2,false),0)
<d$27,vlookup($c$18,$b$13:$d$15,2,false),0)
<d$27,vlookup($c$18,$b$13:$d$15,2,false),0)
=IF(D18<D27,VLOOKUP(C18,B13:D15,2,FALSE),0)

I need to add a discount percentage, that is applied if the purchase is made before a specific date of to this formula.

Would any one know how to do this?

Link to spreadsheet
https://drive.google.com/file/d/1a25XRhFuMPFtyyhei_d9s2CkB96PL3Vu/view?usp=sharing

any help would be greatly appreciated.

Thanks,</d$27,vlookup($c$18,$b$13:$d$15,2,false),0)
</d$27,vlookup($c$18,$b$13:$d$15,2,false),0)
</d$27,vlookup($c$18,$b$13:$d$15,2,false),0)
 
Last edited:

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
Hi,

I'm kind of lost - I am able to do an IF and VLOOKUP to get the required data but now i am trying to add another IF and VLOOKUP formula to multiply by the discount rate if the purchase if made before the discount end date.

I'm really struggling to grasp on the best action to achieve these results.

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Options[/TD]
[TD]Cost[/TD]
[TD]Maintenance[/TD]
[/TR]
[TR]
[TD]Phone[/TD]
[TD]600[/TD]
[TD]30[/TD]
[/TR]
[TR]
[TD]Laptop[/TD]
[TD]400[/TD]
[TD]50[/TD]
[/TR]
[TR]
[TD]Desktop[/TD]
[TD]200[/TD]
[TD]70[/TD]
[/TR]
</tbody>[/TABLE]

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]People[/TD]
[TD]Purchase[/TD]
[TD]Start Date[/TD]
[/TR]
[TR]
[TD]Bob[/TD]
[TD]Phone (Dropdown)[/TD]
[TD]01/01/2017[/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD]Laptop (Dropdown)[/TD]
[TD]24/03/2017[/TD]
[/TR]
[TR]
[TD]Andrew[/TD]
[TD]Desktop (Dropdown)[/TD]
[TD]04/04/2017[/TD]
[/TR]
</tbody>[/TABLE]

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Discount Rate[/TD]
[TD]20%[/TD]
[/TR]
[TR]
[TD]Discount End Date[/TD]
[TD]30/03/2017[/TD]
[/TR]
</tbody>[/TABLE]


[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]01/01/2017[/TD]
[TD]01/02/2017[/TD]
[TD]01/03/2017[/TD]
[TD]01/04/2017[/TD]
[TD]01/05/2017[/TD]
[/TR]
[TR]
[TD]Bob[/TD]
[TD]<c11,vlookup(b6,a5:c8,2,false),0)

<c11,vlookup(b6,a5:c8,2,false),0)<c11,vlookup(b6,a5:c8,2,false),0)< td=""></c11,vlookup(b6,a5:c8,2,false),0)<c11,vlookup(b6,a5:c8,2,false),0)<></c11,vlookup(b6,a5:c8,2,false),0)
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]John[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Andrew[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]

I'm currently using =IF(C6<c11,vlookup(b6,a5:c8,2,false),0) within="" 01="" 2017="" and="" bob


Thanks,
<article>

</article>
</c11,vlookup(b6,a5:c8,2,false),0)>
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,996
Members
452,373
Latest member
TimReeks

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