ISnumber with Index/Match GoogleSheets

shlomek12

Board Regular
Joined
Aug 2, 2011
Messages
242
Can someone please help me, what is wrong here?

if(ISNUMBER(A68),INDEX('Pricing & Availability'!A:E,match(A68*1,'Pricing & Availability'!A:A,0),2),INDEX('Pricing & Availability'!A:E,match(A68,'Pricing & Availability'!A:A,0),2))

I am getting the massage:

"
Error Did not find value '9178891612' in MATCH evaluation."

A68 is indeed a number


Thanks in advance
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Re: ISnumber with Index/Match

If it is a number, why do you need A68*1?

Is it a number or text in 'Pricing & Availability'!A:A?
 
Upvote 0
Re: ISnumber with Index/Match

Looks like you have the formula the wrong way round, I suspect it should be
if(ISNUMBER(A68),INDEX('Pricing & Availability'!A:E,match(A68,'Pricing & Availability'!A:A,0),2),INDEX('Pricing & Availability'!A:E,match(A68*1,'Pricing & Availability'!A:A,0),2))

Alternatively, you could just use
INDEX('Pricing & Availability'!A:E,match(A68*1,'Pricing & Availability'!A:A,0),2)
 
Upvote 0
Re: ISnumber with Index/Match

Looks like you have the formula the wrong way round, I suspect it should be
if(ISNUMBER(A68),INDEX('Pricing & Availability'!A:E,match(A68,'Pricing & Availability'!A:A,0),2),INDEX('Pricing & Availability'!A:E,match(A68*1,'Pricing & Availability'!A:A,0),2))

Alternatively, you could just use
INDEX('Pricing & Availability'!A:E,match(A68*1,'Pricing & Availability'!A:A,0),2)


I am getting the error:


"Function MULTIPLY parameter 1 expects number values. But 'B01BV2CC56' is a text and cannot be coerced to a number."


Sometimes A68 will be a Text cell and sometimes it will be a number cell, this is the reason why I need a "IF statement"
 
Upvote 0
Re: ISnumber with Index/Match

Is this in Excel or some other spreadsheet software?
 
Upvote 0
Re: ISnumber with Index/Match

If you have a value of, say 1234567 is that showing as a value or text in 'Pricing & Availability'!A:A?
 
Upvote 0

Forum statistics

Threads
1,214,386
Messages
6,119,217
Members
448,876
Latest member
Solitario

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