Forum Discussion
If, Countifs Formula Dynamics Table Array Error
- Nov 16, 2022
Got it. I put together a sample workbook with a similar arrangement.
=XLOOKUP([@Facility]&1,TableB[Facility]&TableB[WOAR],TableB[Local Administrator],"")
Got it. I put together a sample workbook with a similar arrangement.
=XLOOKUP([@Facility]&1,TableB[Facility]&TableB[WOAR],TableB[Local Administrator],"")- jptheiiNov 16, 2022Copper ContributorThank you again! This looks like it will work. Last question. I understand the formula besides the 1 in "&1". What is the purpose of the 1?
- Patrick2788Nov 16, 2022Silver Contributor
You mentioned that if a facility from TableA is in TableB and has a 1 in another column, to return the local admin's name. The 1 is concatenated to the lookup value to simplify the formula so there's no need for IF or COUNTIFS.
- jptheiiJan 04, 2023Copper Contributor
Patrick2788 thank you! Happy New Year! I am back again!
I am trying to match something using xlookup. I have Table A and Table B (Table 17) on two different tabs in the same workbook. Table A is where the formula is being inputted into a cell. The formula tries to match the facility name and requestor name in two separate columns in Table A, to the facility name and facility authorizer name in two separate columns in Table B.
I am trying to use a wildcard so it matches the last name located in a column on Table A to the full name located in a column on Table B.
My goal is to determine through formula if the requestor of a facility on Table A has a last name that matches the person in Table B (facility authorizer column) for the same facility. Facility authorizers can automatically have their account request approved.
I continue to receive the #VALUE! error. The formula is below.
=XLOOKUP([@[Office.y]]&"*"&[@[Requestor Last Name]]&"*",Table17[Name]&Table17[Facility Authorizer Name],[Requestor Last Name],"Not Likely",2)