Struggling to get multiple arguments to work in a formula

shina67

Board Regular
Joined
Sep 18, 2014
Messages
141
Hi All,

I have attached a link to the spreadsheet I am referring to:- https://www.dropbox.com/s/i5lvozes381hj18/Test Scan Mr.Excel.xlsm?dl=0

If the part from A1 "XPGLIDE" matches F3 then I want N3 to populate the same as A3, but the rest of K3 through to Z3 to return Zero.
Similar if A1 was changed to "25412AYERSROOF." and F4 matches the part "ROOF" then I want to populate X4 the same as A4 but the rest of K3 through to Z3 to return Zero.
As you can see from the spreadsheet there are 16 different variations (see row 1) that could possibly be in column F and hence could be in A1.
The formula in N3 is something I thought would work but unfortunately is not.
If there is a match I then need the same cell to populate the difference between cells AF and AI.

I hope this makes sense when you look at the spreadsheet.

I have googled and tried different various ways but I am at a dead end.
I hope one of you helpful people can help resolve this for me.

Thanks in advance.
 
Hi James,

The formula has been removed now as I have some vba coding inserted now.
The problem I have now is with a drag down of formula’s.
Row 3 works fine for what I need it to do. However when I drag the formula’s down and then insert the source data into row 4 column G through to column Z there becomes a problem and downwards.
If in A1 I input 25412AYERSXPGLIDE.. and then a quantity into A2, row 3 updates as it should.
Then if I input 25944ELLISXPVIEW. into A1 and a quantity into A2 row 4 won’t update as row 3 did. Also cells AK3 and AL3 go wrong.
Any help on this will be appreciated.




Hi,

Sorry but the file you have added a link to ... does not hold the formula your are referring to ...???
 
Upvote 0

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Forum statistics

Threads
1,223,713
Messages
6,174,039
Members
452,542
Latest member
Bricklin

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