Excel formula

Rasscal

New Member
Joined
Jan 10, 2019
Messages
16
Hi folks

im really new to excel & wondered if someone would help me with a formula

exampled below im trying to find "sales order" on sheet 2 within "order number" in sheet 1 IF warehouse error equals True display username, im asuming this is a vlookup formula but i cannot get it to work with my basic knowledge of excel.

Sheet 1
Order numberWarehouse ErrorUser name
TT4002112True(RESULT HERE)
TT4053763

<tbody>
</tbody>
False

<tbody>
</tbody>

Sheet 2
Sales Orderuser name
4002112micky mouse
4053763daffy duck

<tbody>
</tbody>
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
wow super quick & worked first time after i put sales order in my first column


=VLOOKUP(RIGHT(E2,7)+0,'FY19 PPD Data'!A2:R1048576,17,0)

I understand the above formula apart from the hightlighted above, what does this mean?

And to go one step further, anyway to dispaly a user name if TRUE but N/A if False

many thanks
 
Upvote 0
=IFERROR(VLOOKUP(RIGHT(Sheet1!A2,7)+0,Sheet2!A$2:B$3,2,0),"N/A")

sorry i think you misunderstood from my poor explanation the "TRUE or FALSE" statments are data inputted manually not errors created by other formulas

which means the above IFERROR is not working correctly

Sheet 1

Order numberWarehouse ErrorUser name
TT4002112True(RESULT HERE)
TT4053763

<tbody>
</tbody>

False

<tbody>
</tbody>


i have also put my table array into a table so the formula is updated as new data is added, as seen below

=VLOOKUP(RIGHT(E6,7)+0,PPD,17,0)

=IFERROR(VLOOKUP(RIGHT(E3,7)+0,PPD,17,0),"N/A")
 
Upvote 0
to add a spanner in the works

my current formula is

=IF(AND(D2="PWG : Picked and packed wrong goods",Q2="Yes"),VLOOKUP(RIGHT(H2,7)+0,'FY18-FY19 PPD.xlsx'!PPD_3[#All],17,0),"Non WH Error")

& below is where i would like to get to

If cell D2 = PWG : Picked and packed wrong goods or DE : Despatch Error
and cell Q2 = Yes
Then lookup the right 7 numbers & display whats in column 17
IF
cell L3 Matches in column G

I hope that makes sense :)
 
Upvote 0

Forum statistics

Threads
1,215,063
Messages
6,122,935
Members
449,094
Latest member
teemeren

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