Possible IF formula confusion

adarshleo

New Member
Joined
Dec 24, 2023
Messages
4
Office Version
  1. 2021
Platform
  1. Windows
Hi everyone,

Can anyone please give the formula that needs to be inputted in cell I16. It is something obviously simple, but i just cant seem to get it. Thanks in advance.

1703401866755.png
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Check this and revert -

Excel Formula:
=XLOOKUP(1,($G$5:G$10=G16)*($H$h:$H$10=H16),$I5:$i10,,0)
 
Upvote 0
The error seemingly identified. Check this and revert -

Excel Formula:
=XLOOKUP(1,($G$5:G$10=G16)*($H$5:$H$10=H16),$I5:$I10,,0)
 
Upvote 0
The error seemingly identified. Check this and revert -

Excel Formula:
=XLOOKUP(1,($G$5:G$10=G16)*($H$5:$H$10=H16),$I5:$I10,,0)

I had identified this error earlier. It does not work. Here is the XL2BB view:

Candidate's Assessment Template - Adarsh.xlsx
GHI
3Pre-defined Grade
4 Industry RankRevenue RankGrade as per the industry and revenue rank
5110.50
6121.00
7131.50
8212.00
9222.50
10233.00
11
12
13Question
14
15 Rank of IndustryRank in terms of RevenueGrade
1612#N/A
1721#N/A
1813#N/A
1922#N/A
2011#N/A
2122#N/A
2213#N/A
2311#N/A
2423#N/A
2512#N/A
Question2 - 5 mins (Excel)
Cell Formulas
RangeFormula
G16:G25G16=VLOOKUP(B16,$A$5:$B$8,2,0)
H16:H25H16=IFS(C16>=2000000,"1",C16>=1000000,"2",C16<1000000,"3")
I16:I25I16=XLOOKUP(1,($G$5:G$10=G16)*($H$5:$H$10=H16),$I5:$I10,,0)
 
Upvote 0
The #N/A error tends to suggest you might be trying to match text values (that look like numbers) with numerical values. Try changing the XLOOKUP formula to this & see if it makes any difference:
Excel Formula:
=XLOOKUP(1,(TEXT($G$5:G$10,"@")=TEXT(G16,"@"))*(TEXT($H$5:$H$10,"@")=TEXT(H16,"@")),$I$5:$I$10,"No match")
 
Upvote 0
Solution
The #N/A error tends to suggest you might be trying to match text values (that look like numbers) with numerical values. Try changing the XLOOKUP formula to this & see if it makes any difference:
Excel Formula:
=XLOOKUP(1,(TEXT($G$5:G$10,"@")=TEXT(G16,"@"))*(TEXT($H$5:$H$10,"@")=TEXT(H16,"@")),$I$5:$I$10,"No match")
OH YES! You're right, the formulas in H16:H25 were not in numbers. Thanks for pointing that out.
 
Upvote 0

Forum statistics

Threads
1,215,465
Messages
6,124,977
Members
449,200
Latest member
Jamil ahmed

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