ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Formula help - Match & IF (https://www.excelbanter.com/excel-discussion-misc-queries/448695-formula-help-match-if.html)

amdaman1

Formula help - Match & IF
 
Hi guys,

I seem to be stumped with this one and it's probably pretty simple.

Basically I have a list range of names and then in another column I have the names. I want the cell value to change based on the name that's in the cell if it matches the name range.

I came up with this but it only shows the right value if the name is on the list, otherwise it displays N/A;

=IF(MATCH($A8,$W$4:$W$10,0),U8,V8)

It seems to ignore the V8 argument.

Any help appreciated.

Cheers.

joeu2004[_2_]

Formula help - Match & IF
 
"amdaman1" wrote:
Basically I have a list range of names and then in another column I have
the names. I want the cell value to change based on the name that's in
the cell if it matches the name range.
I came up with this but it only shows the right value if the name is on
the list, otherwise it displays N/A;
=IF(MATCH($A8,$W$4:$W$10,0),U8,V8)
It seems to ignore the V8 argument.


=IF(ISNUMBER(MATCH($A8,$W$4:$W$10,0)),U8,V8)


amdaman1

Quote:

Originally Posted by joeu2004[_2_] (Post 1611561)
"amdaman1" wrote:
Basically I have a list range of names and then in another column I have
the names. I want the cell value to change based on the name that's in
the cell if it matches the name range.
I came up with this but it only shows the right value if the name is on
the list, otherwise it displays N/A;
=IF(MATCH($A8,$W$4:$W$10,0),U8,V8)
It seems to ignore the V8 argument.


=IF(ISNUMBER(MATCH($A8,$W$4:$W$10,0)),U8,V8)

Thanks so much!!


All times are GMT +1. The time now is 02:18 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com