Condense Data List

radley1

New Member
Joined
Feb 17, 2023
Messages
8
Office Version
  1. 365
Platform
  1. Windows
Hi All

I am looking at creating a forumla that essentially looks up to a list in a sheet and says IF this cell is not blank then take this & this cell.

EG
Below screenshot shows how the list of data is given.
Column G is doing a sum to pull a value from a lookup.
1709566544950.png


I want to have a second sheet that condenses this data to remove the blanks so the information can be saved as a CSV and imported.


So I need a formula to say if column A & G are not blank then add to a list, ideally to look like this:
1709566644384.png
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
How about like
Excel Formula:
=CHOOSECOLS(FILTER(Sheet1!A2:G1000,Sheet1!G2:G1000<>""),1,-1)
 
Upvote 0
Thats perfect thank you!
How would the formula change if I wanted to include information in Column H as well that I have now added?

So i would end up with a list like this:
1709717802242.png
 
Upvote 0
To confirm, this is the starting data:
(columns have shifted slightly since i started)

So I still need the formula to question if Column F has a value, and then pull into a condesned list Column B, F & I together. Would I need column I to be to the left of column F for it to work?
 

Attachments

  • Screenshot 2024-03-06 at 09.39.28.png
    Screenshot 2024-03-06 at 09.39.28.png
    74.6 KB · Views: 4
Upvote 0
How about
Excel Formula:
=CHOOSECOLS(FILTER(Sheet1!B2:I1000,Sheet1!F2:F1000<>""),1,5,8)
 
Upvote 0

Forum statistics

Threads
1,215,068
Messages
6,122,950
Members
449,095
Latest member
nmaske

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