VLOOKUP or IF/OR Function

Kiwi den

Board Regular
Joined
Feb 17, 2014
Messages
145
Office Version
  1. 365
Platform
  1. Windows
Below is a diagram of sheet 1 ( reference sheet) and sheet 2, I would like to have info on sheet 2 to only show if column H from sheet 1 is AA, not sure is a vlookup or if/or formula is best, any help much appreciated
Sheet 1
. A B C E F G H
1 BL CD RF WW ZZ AA
3 QI PP LY MN FG DD CE
4 SD JH II YR ES VO AA


Sheet 2
. A B C E F G H
1 BL CD RF WW ZZ AA
3
4 SD JH II YR ES VO AA

Sheet 2: If H1 =AA, then, A1 =BL, B1=CD, C1=RF, E1=WW, F1 shows nothing, G1=ZZ
<strike></strike>

 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
Hi,

If F1 shows nothing, why is there a value (ES) in Row 4 in Sheet 2?
 
Upvote 0
im trying to edit it to more reflect what I want, but am waiting admin approval

. .A ...B .C...D.. ..E ...F ….G.... H
1 BL CD RF .WW ZZ JK,,……...AA
3 QI .PP LY .MN .FG DD.. JJ.. CE
4 SD JH. II .YR. ES. VO ...LJ...AA


Sheet 2
. ..A.... B... C.. D....E.. F.. G.. H
1 .BL .CD .RF .WW ZZ .JK......AA

3
4.SD. JH.. II.. YR.. ES. VO..LJ.. AA
 
Last edited:
Upvote 0
You could've just explained it in your reply?
 
Upvote 0
Ok, it's unclear what values are in which column, may be this.

Change Sheet154 in my formula to match your Sheet 2 name, formula in A1 copied down and across to Column H:


Book1
ABCDEFGH
1BLCDRFWWZZJKAA
2QIPPLYMNFGDDJJCE
3SDJHIIYRESVOLJAA
Sheet154



Book1
ABCDEFGH
1BLCDRFWWZZJKAA
2
3SDJHIIYRESVOLJAA
Sheet164
Cell Formulas
RangeFormula
A1=IF(AND(Sheet154!$H1="AA",Sheet154!A1<>""),Sheet154!A1,"")
 
Upvote 0
I have copied the formula and pasted it into the cells, all it shows me is the formula, it dies not actually perform the formula
 
Upvote 0
Sorry figured it out office 365 Excel requires all , to be ;

Thank you
 
Upvote 0
Sounds like your formula cell is formatted as Text.

Select formula cell, right click, format cells, select General, OK.

Re-enter the formula.

Also check to make sure you have "Calculations" on automatic.

EDIT: just saw your last post, glad you got it working, I believe the ; as opposed to , is due to regional settings rather than Office 365...
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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