Data Lookup With 3 Criteria Number (Positive,Negative & Zero) Percentage

muhammad susanto

Well-known Member
Joined
Jan 8, 2013
Messages
2,102
Office Version
  1. 365
  2. 2021
Platform
  1. Windows
hi all..

i have a problem to data lookup with 3 criteria number (positive percentage number,negative percentage number,zero number)
for easy to understand maybe like below layout table :
<style type="text/css">
table.tableizer-table {
font-size: 12px;
border: 1px solid #CCC ;
font-family: Arial, Helvetica, sans-serif;
}
.tableizer-table td {
padding: 4px;
margin: 3px;
border: 1px solid #CCC ;
}
.tableizer-table th {
background-color: #104E8B ;
color: #FFF ;
font-weight: bold;
}
</style>
[TABLE="class: tableizer-table"]
<tbody>[TR="class: tableizer-firstrow"]
[TH]data[/TH]
[TH]criteria[/TH]
[TH]preference[/TH]
[/TR]
[TR]
[TD]Grade a[/TD]
[TD]positive number[/TD]
[TD]excellent[/TD]
[/TR]
[TR]
[TD]Grade a[/TD]
[TD]negative number[/TD]
[TD]worst[/TD]
[/TR]
[TR]
[TD]Grade a[/TD]
[TD]zero number[/TD]
[TD]equal[/TD]
[/TR]
[TR]
[TD]Grade b[/TD]
[TD]positive number[/TD]
[TD]good[/TD]
[/TR]
[TR]
[TD]Grade b[/TD]
[TD]negative number[/TD]
[TD]bad[/TD]
[/TR]
[TR]
[TD]Grade b[/TD]
[TD]equal[/TD]
[TD]equal[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]lookup/as target[/TD]
[TD]as data (GIVEN)[/TD]
[TD]expected result[/TD]
[/TR]
[TR]
[TD]Grade a[/TD]
[TD]10% (random & as positive)[/TD]
[TD]excellent[/TD]
[/TR]
[TR]
[TD]Grade a[/TD]
[TD]0
[/TD]
[TD]?
[/TD]
[/TR]
[TR]
[TD]Grade b[/TD]
[TD]-27%[/TD]
[TD]??
[/TD]
[/TR]
</tbody>[/TABLE]

note :
all numbers (as criteria) are random

i hope someone would help me out..

cheers..

.sst
 
Last edited:

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Maybe something like this.
Note: I changed your Grade b, equal to Grade b. zero nunber.
Excel Workbook
ABC
1datacriteriapreference
2Grade apositive numberexcellent
3Grade anegative numberworst
4Grade azero numberequal
5Grade bpositive numbergood
6Grade bnegative numberbad
7Grade bzero numberequal
8
9
10Lookup/as targetas data (GIVEN)expected result
11Grade a10%excellent
12Grade a0equal
13Grade b-27%bad
Sheet
 
Upvote 0
Or, using Post #.03's layout table

In C11, copied down :

=TEXT(B11,IF(A11="Grade a","""excellent"";""worst"";""equal""","""good"";""bad"";""equal"""))

Regards
Bosco
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,175
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