using vlookup and if functions

wisd

New Member
Joined
May 4, 2022
Messages
4
Office Version
  1. 365
Platform
  1. Windows
Hi all, thanks in advance for any help :D.
Im currently trying to create a formula that checks if the title (date) in the function sheet matches a product_date from the monday sheet, if it does return the sales for the correct time, if no sales at that time leave cell blank.

eg. in function sheet: B15 would be $284.73, B16 would be $84.36, B17 would be blank.

i assume it will use if statements, vlookup and if error, but cannot seem to figure out the code...

Hope the questions makes sense, if not let me know and i can clarify.

Many thanks :)
 

Attachments

  • function sheet.png
    function sheet.png
    87.3 KB · Views: 3
  • monday sheet.png
    monday sheet.png
    118.2 KB · Views: 3

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
See if this works for you:
Excel Formula:
=FILTER(Monday!$E$1:$E$100,(Monday!$A$1:$A$100=B$1)*(Monday!$B$1:$B$100=$A2),"")
 
Upvote 0
Solution

Forum statistics

Threads
1,214,585
Messages
6,120,399
Members
448,958
Latest member
Hat4Life

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