Look up on single row set of data

jusho

New Member
Joined
Jun 2, 2014
Messages
39
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
  3. Mobile
  4. Web
Hi, I need help with my set of data. I recently download a set of data and unfortunately, the data is in a single row per entry. I need to look up the data.

Example the data is
New YorkApple
100​
Orange
75​
Grape
50​
TokyoOrange
40​
Apple
30​
Grape
65​
JakartaGrape
10​
Apple
40​
Orange
75​

I neet to look up to fill the data like this

AppleOrangeGrape
New York
Tokyo
Jakarta

Is there any formula to achieve this, I cant use VBA on this file.

Thanks a lot
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
How about
+Fluff 1.xlsm
ABCDEFG
1New YorkApple100Orange75Grape50
2TokyoOrange40Apple30Grape65
3JakartaGrape10Apple40Orange75
4
5
6
7
8AppleOrangeGrape
9New York1007550
10Tokyo304065
11Jakarta407510
12
Main
Cell Formulas
RangeFormula
B9:D11B9=SUMPRODUCT(($A$1:$A$3=$A9)*($B$1:$F$3=B$8),($C$1:$G$3))
 
Upvote 0
How about
+Fluff 1.xlsm
ABCDEFG
1New YorkApple100Orange75Grape50
2TokyoOrange40Apple30Grape65
3JakartaGrape10Apple40Orange75
4
5
6
7
8AppleOrangeGrape
9New York1007550
10Tokyo304065
11Jakarta407510
12
Main
Cell Formulas
RangeFormula
B9:D11B9=SUMPRODUCT(($A$1:$A$3=$A9)*($B$1:$F$3=B$8),($C$1:$G$3))
Hi.. i have already tried your suggestion but the outcome is 0. I thinks its already same with yours.

Picture1.jpg
 
Upvote 0
That suggests that your "numbers" are actually text. You will need to convert them to real numbers.
 
Upvote 0

Forum statistics

Threads
1,215,044
Messages
6,122,827
Members
449,096
Latest member
Erald

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