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

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
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,224,823
Messages
6,181,173
Members
453,021
Latest member
Justyna P

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