if this cell is equal to this cell on another sheet then enter the value of the adjacent cell.

daren141

New Member
Joined
Feb 16, 2023
Messages
11
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
if this cell is equal to this cell on another sheet then enter the value of the adjacent cell. It works somewhat but its reporting numbers for the wrong cell. i have sheet one and sheet 2 imported below. any help would be appreciated.

Sales Report V2.xlsx
ABCDEFG
3OrderNoRequiredDateQuoteDateShipTO_NameCustom1Custom2Custom3
4179401/3/20221/3/2022Signature BankNo
5179411/3/20221/3/2022Signature BankNo
6179421/3/20221/3/2022Signature BankNo
7179431/3/20221/3/2022VonageNo
8179441/3/20221/3/2022VonageNo
9179451/3/20221/3/2022Kyowa KirinNo
10179461/3/20221/3/2022Newark Board of EducationBESSEMER
11179471/3/20221/3/2022BoldNo
12179481/3/20221/3/2022Transverse InsuranceHIG, EY
13179491/3/20221/3/2022Provident BankNo
14179581/3/20221/3/2022Amalgamated LifeDEUTSCHE
expC625
Cell Formulas
RangeFormula
G4:G14G4=INDEX(source!$E$3:$E$1346,MATCH(source!D3,expC625!$A$4:$A$1927,0))


Sales Report V2.xlsx
BCDE
317940Signature Bank17940No
417941Signature Bank17941No
517942Signature Bank17942No
617945Kyowa Kirin17945No
717949Provident Bank17949No
817963Provident Bank17963No
917965Christopher Lang17965No
1017965Christopher Lang17966No
1117966Christopher Lang17982No
1217982Worldwide Logistics17984No
1317982Worldwide Logistics17985No
1417982Chronograph17986No
1517982New Jersey Innovation Institute17988No
1617984New Jersey Innovation Institute17991BESSEMER
1717985New Jersey Innovation Institute17992No
1817986New Jersey Innovation Institute17996No
1917986New Jersey Innovation Institute17997No
2017988New Jersey Innovation Institute17998No
2117991New Jersey Innovation Institute17999No
2217992New Jersey Innovation Institute18000No
2317996New Jersey Innovation Institute18002No
2417997New Jersey Innovation Institute18003No
2517998The Children's Aid Society18006No
2617999Michael Greer18008No
2718000National Utility Service, Inc.18009No
2818002National Utility Service, Inc.18010No
2918003National Utility Service, Inc.18011No
3018003National Utility Service, Inc.18012No
3118003National Utility Service, Inc.18013HIG, EY
3218006Baruch S. Blumberg Institute18014No
3318006Baruch S. Blumberg Institute18015No
3418006Baruch S. Blumberg Institute18017DEUTSCHE
source
Cell Formulas
RangeFormula
D3:D1346D3=UNIQUE(B3:B1725)
E3:E34E3=TEXTJOIN(", ",TRUE,UNIQUE(FILTER($A$3:$A$1725,(expC625!A4=$B$3:$B$1725)*($A$3:$A$1725<>"WHS")*($A$3:$A$1725<>"P1"),"No")))
Dynamic array formulas.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
im not sure if it just how you did the xl2bb or if it is your worksheet. but your lookup column has only 32 values to return, even though you are listing 1346 cells in the index array..
 
Upvote 0
im not sure if it just how you did the xl2bb or if it is your worksheet. but your lookup column has only 32 values to return, even though you are listing 1346 cells in the index array..
theres a lot of data and theres a limit on how muh i could actually use with xl2bb i kept getting error messages so i just selected enough to get an idea of what im trying to accomplish
 
Upvote 0
Understood. But, I'm having a hard time with your initial statement unless i have a better picture of what you're trying to accomplish:
"if this cell is equal to this cell on another sheet then enter the value of the adjacent cell. It works somewhat but its reporting numbers for the wrong cell. i have sheet one and sheet 2 imported below. any help would be appreciated."

what is the address of "this cell"? what is the address of "this cell on another sheet" (Is it hard coded or are you using a lookup of some kind)? Is the other sheet cell adjacent up, down, right, left (or is this an expected return value from the lookup)?

What are the values of the "this cell", "The other sheet cell", and the "adjacent" cell when you have an error/wrong return? Do you have duplicate values in the "other sheet cell" column (if it is a column)?
 
Upvote 0

Forum statistics

Threads
1,214,924
Messages
6,122,294
Members
449,077
Latest member
Rkmenon

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