Hi,
I am needing some help with an Index / Match formula that keeps showing an error part way though but I don't know why. I work mainly with SQL Server so Excel functions are not something I need to do much of on a day to day basis.
In columns A to D are my reference columns and in G to I are my updating columns.
What I am doing is looking up the value from G column in column A, checking that the Qty matches and then putting the value in column I. The exception to this is, if the Qty in column H is 0 then I is automatically 0. This all works correctly in the attached file but the issue is for example.
I create a new reference record in A to D and then the record directly opposite shows a #N/A in the I column where previously it was fine. If I then go on to create a record that needs to look at the reference table it comes up correctly but I still have #N/A in the above record.
In essence with the exception of where the Qty is 0, I want to match what is in column G to what is in A and where D = H and then put the value from C in to I.
I have noticed though if I have the value in A in G but perhaps it has letters or numbers either side it also fails, I am wanting to check that A appears in G whether there are any other letters around it or not e.g. A Column = WS124NS G Column = 3WS124NSRW this is still a match as WS124NS can still be seen in the G column.
If I can offer any more information please do ask.
I am needing some help with an Index / Match formula that keeps showing an error part way though but I don't know why. I work mainly with SQL Server so Excel functions are not something I need to do much of on a day to day basis.
In columns A to D are my reference columns and in G to I are my updating columns.
What I am doing is looking up the value from G column in column A, checking that the Qty matches and then putting the value in column I. The exception to this is, if the Qty in column H is 0 then I is automatically 0. This all works correctly in the attached file but the issue is for example.
I create a new reference record in A to D and then the record directly opposite shows a #N/A in the I column where previously it was fine. If I then go on to create a record that needs to look at the reference table it comes up correctly but I still have #N/A in the above record.
In essence with the exception of where the Qty is 0, I want to match what is in column G to what is in A and where D = H and then put the value from C in to I.
I have noticed though if I have the value in A in G but perhaps it has letters or numbers either side it also fails, I am wanting to check that A appears in G whether there are any other letters around it or not e.g. A Column = WS124NS G Column = 3WS124NSRW this is still a match as WS124NS can still be seen in the G column.
If I can offer any more information please do ask.