I have 100+ forms that I need to combine data from into a master sheet. For example, a question on the form says “what is your favorite food” and the respondent would type in their food into cell B2. How to I pull the data of cell B2 of each 100+ forms into one master column titled “favorite food responses?” and all the answers populate down?

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

Throw it all in a folder, go to data, merge queries from folder, and boom

likehelpful

Your can use formula bot to give you ideas on how to do this and more. It's an ai tool.

like

One way to do that, is to list the names of forms you have in one column, and in the next column collect the info using INDIRECT (excel) or IMPORTRANGE (google sheets)

For example assuming that data is in “[form1.xls]sheet1!B2” where form1 is the name of the file stored in column A
You can write in column B
=INDIRECT(“[“& A1 &”.xls]sheet1!B2”)

There are other ways of course, and some with VBA/google script app, but simpler is generally better

being very much impressed by all the nonsense of the other answers, I wrote down how this would work with one formula only with Excel.

Post Photo
like

VBA. it’s easy to write a loop to iterate all sheets, or all workbooks, to get that cell and combine it into one list.

Otherwise, the suggestion to use Power Query, or use Power BI, makes sense.

I have used chatGPT to help write VBA and it works wonders just need to be specific about what you want it to do.

like

You can prompt an ai to write it for you, but that might be beyond your skill, but still you can prompt an Ai. I asked Gemini the following:

- In VBA, write code to loop through each workbook in a folder, collect the value in cell B2, and at it to a list.

It produced this:

Sub CollectB2Values()

' Define the folder path (replace with your actual path)
Const FLDR_PATH As String = "C:\Your\Folder\Path\"

' Declare variables
Dim strFile As String
Dim wbk As Workbook
Dim dataList As Collection
Dim rw As Long

' Create a collection to store the values
Set dataList = New Collection

' Turn off screen updating for faster execution
Application.ScreenUpdating = False

' Loop through each file in the folder (*.xls* includes both xlsx and xlsm)
strFile = Dir(FLDR_PATH & "*.xls*")
Do While strFile <> ""

' Set rw to 2 (starting position for the list)
rw = 2

' Open the workbook in read-only mode
On Error Resume Next
Set wbk = Workbooks.Open(Filename:=FLDR_PATH & strFile, ReadOnly:=True)

' Check if workbook opened successfully
If Not wbk Is Nothing Then

' Get the value from cell B2 of the first worksheet
dataList.Add wbk.Worksheets(1).Range("B2").Value

' Close the workbook without saving changes
wbk.Close SaveChanges:=False
End If

On Error GoTo 0 ' Reset error handling

' Get the next file in the folder
strFile = Dir
Loop

' Add the collected values to a new column (replace "Sheet1" with your desired sheet)
With ThisWorkbook.Worksheets("Sheet1")
.Range("A" & rw & ":A" & dataList.Count + 1).Value = dataList.ToArray
End With

' Turn screen updating back on
Application.ScreenUpdating = True

' Inform user about completion
MsgBox "Values from B2 collected successfully!", vbInformation

End Sub

Related Posts

Any recommendations for vegetarian and vegan friendly restaurants to have a nice evening? Thanks 😊

like

Just finished The Vanishing Half... any book recommendations for the holiday break?

Post Photo
like

Today's dinner: Zucchini noodles in butter, garlic, lemon, and basil sauce with a side of chicken thigh.

Post Photo
like

Amy’s recs for best hot pot in Manhattan? Thanks!

like

I'm thinking of entering the show The Ultimatum marry or move on

like

Anyone play of games here? Some overwatch or HOTS? I'm a gamer nerd

like
like

This bowl so dead. You guys wanna talk about something? I'll go first: Totto Ramen in Alston is amaaazing.

like

So what do you guys do at happy hours to make them more interesting? What do you drink? I find them boring because it’s not networking with new people and I’m sick of water or sprite.

like

Thoughts on fooda?

like

I read the leaks of season 8... sigh...

Any off beat documentaries to recommend? Just watched the Barkley Marathons.

like

Anyone here watch or read Little Fires Everywhere?

like

I have taken couple of days off to relax and I am planning to spend most of my time making my island prettier 🤣 It feels so good to play AC on a Monday morning!

like

Am I the only one that loves the older JLC master compressors?

Post Photo
like
like

Any thoughts on breguet? It doesn’t seem to get much love on here.

like

How much are you guys tipping grocery delivery, prime etc. during covid times?

likefunny

More Posts

Hi all, I have an offer from PwC AC ...could anyone please enlighten me with the working culture, wlb, and any other useful inputs..this is for the strategy role

like

What other cards to add to my collection? I have AmEx Platinum and Chase Sapphire Reserve. Fly Delta so AmEx is handy for lounges. Use Sapphire for dining/travel. Should I add Chase Freedom Unlimited?

like

I know it’s a Glassdoor estimate but $120k as an EP?????? I was making that as just a P…. For a company like ABinBev I hope this is Glassdoor just predicting wrong.

Post Photo
like

Software Sales: How long did it take back then to close your first deal?

like

How muxh time do the HR take to release the round 2 interview results?
Is it possible to not get the mail if i havnt cleared the round?

like

Tricare Q:

Vets using Tricare with a family. I’m out and can use Tricare with the VA, but my wife and I each use our company offerings for our family; which obviously come at cost. Is it worth it to switch to Tricare? Has anyone done this and can share details? Positives/negatives?

like

Hi fishes, can you please help out.i have an offer of these companies. Which one to join for growth and learning?

Bajaj finserv , SBIcard , Cognizant, Evaluserve, or EXL services
for data science position .

likeuplifting

Anybody here an Account Manager at AON?

How do you like it?

What company runs the background check?

like

Any single female fish is this bowl enjoy dating men In their late 30s

like

Make gwap and pine tings

like

It looks Verizon India is following Hybrid work model in 2022

Any idea about what would be the work model in 2023 HYBRID or WFO ?

like

How many times do we have to tell you, Karen, posting on 2 Instagram accounts doesn't mean you own a marketing agency 👀

like

Does anyone know the answer to this? - My first mortgage statement was generated on 11/2 with a due date of 12/1 and includes a month of interest based on the balance on 11/2. I made a principle only payment on 11/14 of $500 which was applied right away. Will the interest automatically recalc to reflect a lower outstanding balance for a portion of the month? I plan to do this every month.

like

Hi guys,
I have got offer letter from pwc sdc (bangalore) my joining date is 6 th june.
I have not recieved any confirmation regarding laptop delivery,Wfh or wfo.
I have asked from my HR so ge mentioned please be ready,You MAY need to work from office as per business requirements.
And my colleagues who have been hired through same process have got mail already regarding laptop delivery and wfh.
I am confused 😕

like

Hi PWC AC Bangalore folks. Can anyone please tell me how many days before they will share invite for joining day formalities.

TIA

like

Just started a new job and three people from the team have put in their notice or have left. Not a good look.

like

Definitely not a fan of Westin's "Eat Well" proposition. I'm working in the room at 2:00 AM and the most appetizing menu item is a cold turkey avocado and arugula wrap. I just want a burger and fries!

like

Any book recommendations for philosophy, psychology, and business? Or any book you read last year changed your values? Going to fly international, gonna read it on flight. 😍

like

Is it recommended to get two full years of consulting experience before looking for a move elsewhere...for more comp (say to another Big 4, industry, attempt at MBB or FAANG)? Already have 8 yoe in the DoD space outside of consulting. And about 16 months of consulting exp

like

Additional Posts in Excel Genius

I’m verrrrrry new to excel and am going crazy because is there not a way to “clip” text in cells like you can in google sheets? I read about a “fill” option, but then noticed that cells that aren’t filled just repeat text. 😂🤯

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 can I copy a formula from one sheet to another?i tried the simple Ctrl+C, Ctrl-V, but the formula refers to the old sheet.

like

Any book recommendations on excel modeling for real world business applications?

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

How can I add multiple characteristics within one cell and make sure that a pivot table can read both values independently if needed? E.g., I have a column titled “color” and in one cell I write “red” and the other “red, blue”. I’d like a pivot table / formula to be able to count that there are technically two “reds” in this data set. Any tips?

like

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?

What are some common reasons that a COUNTIF formula might not be working correctly? I'm using the correct range and value to count. I'm not seeing "ERROR" but the values aren't correct (it's not counting everything). Thx.

like

Is there anything similar to the INDIRECT function that I can use to build a formula reference to another workbook? INDIRECT creates errors when the referenced workbook is closed..

like

Does anyone know any shortcuts for the “Refresh All” button without having to always click Data->Refresh All every time I want to refresh the live data? For a Mac btw pls thanks!

Post Photo
like

Vlook up isn't recognizing a couple of cells even though it's feeding off a pivot and when I check with an " if =" it comes up as being the same.
Any advice on what I need to check?
Thanks

like

What are your top excel functions you use in finance / accounting - besides vlookup - Pivots - sumifs - count - index. I have an interview coming up which will have excel based technical questions. Not sure what other functions are considered important in the accounting finance world.

like

Struggling with this:
Suppose I want to shortlist companies that serve the priority industry vertical of a country. So I have the industries served by company (one column for each industry) and (cont)

Best websites to get more of a handle on Excel as a beginner-intermediate?

like

Anyone use power query before? My goal is I have multiple look up values in one cell (separated by comma) and I need it to look up those values and return values from another table which also may have multiple values (separated by comma) anyone know how to do that? I played around with power query today but it wasn’t giving me what I wanted

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

Anybody know if there is a way to automate a Gantt chart in excel when building out a roadmap? Essentially want to recreate the functionality of ms project because my client does not have project and wants a nice visual for the roadmap

like

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

Anyone know what these badges are?

Post Photo
likefunny

EY trying to move away from Excel . Think it’s possible? Want to see it happen?

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