Add Column based on filter and field value

mlewan_ca

New Member
Joined
Oct 28, 2020
Messages
7
Office Version
  1. 2013
Platform
  1. Windows
Hello,

I need to add a new column. The value in that column needs to be filtered from ValueID and Value.
Basically I the new column named 162 should look for ValueID 162 and copy value 1.00 to the new column.
Value 180 will add Value 8,500. etc.

Can this be done?


1603914548388.png



Thanks in advance.

Regards.
mlewan_ca
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
The .png file is not showing in my browser (Chrome). Can you repost or use the Mr. Excel add-in to show your intention?
 
Upvote 0
I don't understand. The Value column already has your value, why would you want another column with that same value. Is ValueID unique for the entire column? Or are you saying that you want to create multiple new columns, each named for the respective Value ID?
 
Upvote 0
I don't understand. The Value column already has your value, why would you want another column with that same value. Is ValueID unique for the entire column? Or are you saying that you want to create multiple new columns, each named for the respective Value ID?

I would like to create multiple new columns, each named for the respective Value ID!
 
Upvote 0
I suggest doing that in PowerQuery using the unpivot feature. Much faster - but how many columns will there be? And would the Value populate every row of the new column?
 
Upvote 0
I suggest doing that in PowerQuery using the unpivot feature. Much faster - but how many columns will there be? And would the Value populate every row of the new columnIt would be in
The value would populate in every column off the same ID number. At the end I would like to get one row for each different ID with all values in one row instead of multiple rows.
I have never used the unpivot feature. Do you have an example?
 
Upvote 0
Upvote 0

Forum statistics

Threads
1,223,761
Messages
6,174,342
Members
452,555
Latest member
colc007

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