Excel Formula

NaughtyPopz

New Member
Joined
Jun 27, 2023
Messages
8
Office Version
  1. 365
Platform
  1. Windows
Hello,

Is there anyone that can help me please? Underneath is some kind of example, but the excel I'm working at is gigantic.
I want to make this excel dynamic, so I don't want to work with 100 if functions, but I don't know any other way to make this work, if this is even possible with a V / X lookup, or index match or some other formula?

In cell E2 I want to return a dropdown list with ArticleID based on previous selected criteria in cells C2 and D2.
Is this possible?

1719310598299.png
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
I think you want to use VBA to achieve this as the complexity is much reduced with If function as code

If you would please post that sample data as a mini-sheet instead of an image then we can probably work something out.

If you don't know anything about VBA, don't worry. There are thousands of people on this forum who can help.

Press Alt+F11 and you're in the VBA Editor. That is where the code is written.
Although it's a learning curve, it is not too hard to get useful things done.
Start by recording a macro when viewing your Workbook.

To start and stop recording click this icon:

1719311970138.png







To run that macro you only need to press Alt+F8
To see what was recorded, press Alt+F11

whatever actions are caused by running a macro cannot be undone by clicking undo, ALWAYS WORK ON TEST DATA IN A DIFFERENT WORKBOOK until yo are sure that what you have is good working code
 
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,270
Members
452,628
Latest member
dd2

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