How do I look up values from a column in a row? E.g. Values in A1:A6 in B2:F2?

like
Posting as :
works at
You are currently posting as works at

INDEX/MATCH, XLOOKUP, or VLOOKUP can accomplish this from a dynamic perspective.

like

Thanks mate

HLOOKUP

like

If you want to get all fancy and return specific values based off of something being in another list:
IF(ISNUMBER(MATCH(<lookup>,<lookup array>,0)),<value if it shows up in other list>,<value if not in other list>

like

Ha yeah you’re right, totally misread/misinterpreted

Do you mean look up or just directly reference? If lookup then there is no issue, just define the lookup array as a column in index match.
But if you mean that you want a row of cells that are populated by values from a column then that is different.
For the latter, it is irritating that there is no way to drag the formula reference a cell (starting with A1) sideways so that the cell next to the first one references the cell below the first referenced cell (starting with B2 and dragging to C2, but wanting referenced cells to be A1 then A2).
I have an ugly but effective way to do this. Basically create a column that references another column. So, start in B1, type formula =A1 and drag down from B1 to B6. Now each of those cells will include =A1 then =A2 and so on. Now the dirty bit: use replace function to replace the = with a nonsense set of characters like ### (something that will not appear in a formula or any other text). This changes the formulae into strings text that you can move around with out the formulae trying to be clever and change the cells they reference. Now you can use Paste Transpose to rotate the column into a row. Now use ctrl replace to change the ### back to =. This will turn all the formulae back on.

You can also reference the cells in a column next to it, as you stated, but just row and column lock the cell references. Then you can copy and paste transpose the locked references. Afterwards just remove the locking if preferred.

HLOOKUP bruh (horizontal lookup)

Index match

Just index match the column row number with the count of your columns. That way column 1 = row 1 and so on

Related Posts

Hey Guys, Slightly an off topic question. I along with my wife and kid are planning to move to Bangalore and looking for rentals in Hebbal Kempapura. Would be great if anyone staying in this area could suggest some good apartments complexes.

I know there are multiple posts about this but I still can’t think of the right way to play United Wholesale Mortgages. Too nervous to sell covered calls with the ex div date and high OI for calls in March. Anyone considered averaging down?

like

CNN HL: DOW back in bull market, should it be?
The talking head says industries will crumble and its doom day!!!
Your take?

like

I’m looking for a new job, working remotely, that doesn’t require a Bachelor’s. (I’m currently going back to school to get one, as I only have an Associate’s in Mathematics right now)
I had positions in private sector that allowed me to supplement having a degree with experience but not in public sector. I’ve seen coworkers get positions they aren’t able to do simply because they have a degree and then leave a mess for me to clean up but I’m not allowed to have the position. Any suggestions?

like

Hi Guys, Need to unlock DM's. Appreciate your help in liking the post!

like

Ladies, any options that are comparable to lululemon but not as pricey?

like

Anyone from Leidos? Anyone? ...... *crickets*

like

Mastercard default hike for the new joiners? Also what is the salary range for level 7

like

Hello All,

Hope we are doing well.

I am in the UAE on a Visit Visa and looking for opportunities here.

Please let me know if we have any references or recommendations you may be able to help with.

My last held designation is Operations Manager - Customer Engagement

I have a total of 13.5 years of experience in Operations and customer services.

I am unemployed since May 18' 2022 and your assistance will be really appreciated.

Anyone from McKinsey want to provide a referral of have feedback on how the implementation push is going?

like

Hi all- new to fishbowl. Not really sure how to use and explore the app yet but I saw this bowl and figured I would introduce myself. I am a wholesaler for 401K and I am able to partner with advisors who currently uncover 401K opportunities or are looking to learn how to. Reply if you are an advisor in the NYC area and interested in learning about how to expand your business.

likeuplifting

Currently doing data analytics under operations team at a financial services company. I went to school for data analytics, so I don’t have much financial domain knowledge. What would you recommend me to learn to break into investment or PE some day later?

like

Anyone here broken into real estate private equity from big 4 consulting? What steps did you take to jump into RE PE? What gaps in knowledge did you have and how did you fill them? Outside of the knowledge gaps what other things do you think you needed in order to get into RE PE?

like

What % annual VP increase should you expect? 1Y VP to 2nd

like

Did your firm’s leadership send a message re the horrific shooting? Before I lateraled we always got emails from leadership, which IMO were very humanizing and appreciated. New firm leadership seems to just avoid — probably to not appear politically involved. Your thoughts on these types of current events and firm acknowledgment?

like

New feature 🤦

Post Photo
likefunny

Happy diwali 😂

Post Photo
funnylike

Off topic ---

Has anyone bought nothing phone 1 ? Hows experience ?

How is Amazon India project in Persistent Systems Limited ??
Tech stack : Java, Springboot, Microservices

like

What are the companies I can switch from Eli Lilly? Can I try for product based companies like Amazon and Uber?

like

Additional Posts in Excel Genius

Is there a way for me to automate creating columns to do this so I can drag across and create my columns? For example--
1Q2021 2Q2021 3Q2021 4Q2021 2021 1Q2022?

likesmart

Anybody have the SQL server data mining add in on excel? Desperately need to run a really quick analysis through it but can’t configure it.

like

How do I set the formula to calculate “If x falls between 1-10, return 1-10, if it falls between 11-20, return 11-20, and so on”

like

Need help building an electric schedule for a production schedule with a Gantt chart style view (sort of)

Currently have an excel list with resource (production line), start date and time, and then also the name of the item being produced.

Any ideas how to tackle this??

I’m thinking a stacked bar chart with the vertical categories to be my resources and horizontal the date/time and then each individual bar to be the name of the item being produced.

Thank you for the help Excel Gods 🙏

like

Does anyone have any tips/tricks for knowing where to plug +1/-1 in a large table with totals across the y and x axis that contain un-rounded numbers? Every time I fix a row I throw off a column or my check figures to the true data source.

Post Photo
like

How do you calculate the “rate of change” within excel? I am comparing the number of bugs from one week to another.

like

Hello all, hope you guys are having an amazing day!
I’m wondering if anyone has a good beginner friendly resource in linking SQL database to a Worksheet. Tips, in-depth tutorials, that good stuff

like

Has anyone had an issue with index match and lookups returning NA when trying to manipulate data from a password protected workbook?

I’m calculating a bunch of totals and averages by category on one worksheet by filtering data in different categories from another worksheet. However, when I change the filters, the previously..(cont)

Help me save the day: have a massive excel file (600k rows) with duplicate records (column a, b and c are duplicate, not a duplicate if a and b are the same though). How can I filter for just these records? If it didn’t crash excel I could concat into one column, Conditional format for duplicates, and sort by color. What’s a work around?

likehelpful

HELP!
I have raw sales data on one tab, which includes a sales rep ID number. My second tab has that sales rep ID number in column 1 and the rep name in column 2. How can I get the rep name added to the correct line items in the raw data?

Does anyone from PwC have a list of the favorite groups shortcuts for excel? Please provide. Much appreciated .

like

I created a macro to help me save time on this onetime task and now whenever I open my excel, a blank excel opens with the name of the macro. How do I get rid of it?

like

Hey guys, I have a Google spreadsheet where each cell has multiple links separated by semi-colons.

How would you get the links to show up in different rows WITHIN a cell? (Pictured is what I want to achieve).

Thank you so much🙏

Post Photo
like

How do I compare two sheets to make sure they are identical?

like

I have some data extracted from SAP and though the size is not relatively high lets say about 45000 line items. My excel keeps crashing anything i do with it 🙄! Any clue why it is happening ?

like

How long did it take you to become good at excel? Like fast?

like

What would you consider "Advanced" or "Expert" level Excel usage?

like

Hi Group, seems like it should be basic format, but I just can not get it to work. a list of data and want to alternate shade (blue,white,blue,etc) each line but if I have multiple lines I want to group together and they all shade the same. I want to group by the same data in column A, and the number of rows that are the same could vary. So let’s say row 1& 2 same entry in column A(blue) row 3 different (white) row 4,5,6 same as each other different to other rows (blue) etc… help 🙏

like

Excel Rookie looking for a super simple formula to bring all information linked to a certain date in tab 1 to be organized under said date in tab 2.

like

New to Fishbowl?

Download the Fishbowl app to
unlock all discussions on Fishbowl.
That was just a preview…
Sign Up to see all discussions
  • Discover what it’s like to work at companies from real professionals
  • Get candid advice from people in your field in a safe space
  • Chat and network with other professionals in your field
Sign up in seconds to unlock all discussions on Fishbowl.

Already a user?
Login here

Share

Embed this post

Copy and paste embed code on your site

Preview

Download the
Fishbowl app

See what’s happening in your industry
from the palm of your hand.

A phone with Fishbowl app

Scan your QR code to download
Fishbowl app on your mobile

Download app

Sign up for free to view this conversation on Fishbowl

By continuing you agree to Terms of Use and Privacy Policy

Already have an account? Log in

Sign up for free to continue using Fishbowl

By continuing you agree to Terms of Use(New) and Privacy Policy(New)
Messaging rates may apply

Already have an account? Log in

For account settings, visit Fishbowl on Desktop Browser or

General

Legal