Print specific column in Excel - excel

I have one file with column look below
No Name Address Status
1 Indah Bali Single
2 Joki Lombok Married
3 Janu Muara Basung Married
I need to print specific column where only someone with Status 'Married' will print, and others wont. How can I do that?
Things I need show below.
No Name Address Status
1 Joki Lombok Married
2 Janu Muara Basung Married

1. Select the desired column headings
2. Click AutoFilter
3. Filter columns as desired
4. Select column to print
5. File > Print > Print Selection > Print

Related

Create a text cell value based on row entries and corresponding columns

I understand this is a tough way of wording the problem I have. Please try and help me.
I want to create a Column called Orders which contains cells based on corresponding item values.
So if I have columns: FlatNo, Truffle, Pineapple, Mango, Chocochips; I want to create a column called Orders which has value:
FlatNo - A51
Mango - 1
Chocochips - 1
(if no values in the Pineapple & Truffle Columns, none show up in Orders columns)
See image
How do I do that ? Thank you in advance
You can use IF and &. & simply puts the different desired things altogether.
Hope the following formula will get you the result for column orders. I have put the number of each item ordered inside parentheses before the item.
="Flat No. "&A2&IF(ISBLANK(B2),"","-("&B2&")"&$B$1)&IF(ISBLANK(C2),"","-("&C2&")"&$C$1)&IF(ISBLANK(D2),"","-("&D2&")"&$D$1)&IF(ISBLANK(E2),"","-("&E2&")"&$E$1)
For instance the third order is shown like this: Flat No. E-23-(1)Truffle -1 Pc Rs 60-(3)Mango -1 Pc Rs 60

How can I produce this as a new column in an alteryx table?

Each row needs to be paired up with the one before it therefore I need a new column that looks like the following.
flag
1
1
2
2
3
3
4
4
5
5
.
.
.
and so on
You can solve this a number of ways with Alteryx. I chose to use one tool, the Multi-Row Formula tool, to make an elegant solution.
Add the Multi-Row Formula tool.
Use the default "Create a New Field" option and name the field "flag".
Choose 2 as the "Num Rows".
Choose "NULL" as the "Values for Rows that don't Exist".
For the expression, paste the following:
IF ISNULL([Row-1:flag])
THEN 1
ELSEIF [Row-1:flag] == [Row-2:flag]
THEN [Row-1:flag] + 1
ELSE [Row-1:flag]
ENDIF
This will create the flag for you by paring the first and second rows, third and fourth, and so on.
As a reference, see my page in the Alteryx community. I am a certified partner.
Alteryx Reference

Excel, i have a big list (44000 records), i would like to sepperate them into 2 lists, 1 with unique values and 1 with duplicate value's

My list looks somewhat like this:
1. Unique1
2. double1
3. double2
4. unique2
5. double1
6. unique3
7. double2
8. unique4
9. double3
10. double4
and so on..
My wanted output:
list 1
1.unique1
2.unique2
3.unique3
4.unique4
list 2
1.double1
2.double2
3.double3
4.double4
I've only found things like remove/hilight duplicates or count/hilight unique values. But I need to display the values in another list.
Make a PivotTable out of the data. Put the field of interest in it as both a Row Field and as a Values field, and make sure that the aggregation being applied is a Count. (It will be by default if your things are text).
Anything with a Count of 1 is unique. Anything with a count > 1 is not.
You can then optionally copy the PivotTable, and set a Values filter to show where the count = 1 in one, and count > 1 in the other, like so:

Excel use index match to return multiple values in a list

My worksheets:
ELKK BSN Voornaam Achternaam DOB Basisschool Advies Voorrangschool Voorkeur
1 1 John Smit 1 Test VWO Test Test
2 2 Chris Kong 2 Test 2 HAVO Test Test
This worksheet is called Leerlingen
The second one:
School Advies Klasnaam Regulier
Test VWO VWO 1
Test 2 HAVO HAVO 1
Test 3 VWO SPORT 0
This worksheet is called VO-scholen
What I want to happen is, when I change the value "Advies" in the Leerlingen worksheet. I want to get all the schools from the VO-scholen Worksheet who also have that "Advies" and return them in the Leerlingen worksheet into a list under the column "Voorrangschool".
This means that with "John Smit" I can select the schools Test and Test 3, and with "Chris Kong" I can select the school Test 2.
Here is what I already tried:
=INDEX('VO-scholen'!A2:G4;MATCH(G2; 'VO-scholen'!$C$2:$C$4; 0);2 )
But it won't return multiple values, only the first value it can find.
my answer requires MOREFUNC addon*
Here I assume data in purchase "table" is in A9:C11. Adjust accordingly.
formula for Leerlingen!H2:
=MCONCAT(IF('VO-scholen'!$C$2:$C$4=G2,'VO-scholen'!$B$2:$B$4,""),",")
notice the curly braces. This is an array formula you have to confirm using Ctrl+Shift+Enter, not just Enter (so that curly braces appear)
then copy the formula down
MOREFUNC ADDON
Morefunc Addon is a free library of 66 new worksheet functions.
HERE is some information (by original author)
here is the last working download link I found
here is a good installation walk-through video
You'll want to modify this a little, but try:
=INDEX('VO-scholen'!$A$1:$G$4,MATCH($G2, 'VO-scholen'!$B$1:$B$4, 0),1 ) & IF(COUNTIF('VO-scholen'!$B:$B,Leerlingen!$G2)>1, ", " & INDEX(OFFSET('VO-scholen'!$A$1:$D$4,MATCH($G2,'VO-scholen'!$B$1:$B$4),0),MATCH($G2,'VO-scholen'!$B$1:$B$4),1),"")
The first index match grabs the first value in the table. The second index match grabs the first value in an offset from the first table. The offset starts the second lookup table down the number of rows from the first lookup value. In other words if you were searching in B1:B100 and the value was found in row 3, the second lookup will be in B4:B104.

Excel formula by combining 2 sheets

I need help in generating excel report.Can anyone of you please help me.
I have 2 excel files. I have tried to paste the files in the question.
file1:
Column A Column B Column C
----------------------------------------------------
$www.example1.com/ab 200 abc
file 2:
URL Hits
-----------------------------------------
$www.something.com/dir/abc 1000
$www.example1.com/ab 100
$www.example2.com/cd 50
$www.example1.com/ab 100
Contains 3 columns -- colA (URLs), colB(Hits in Numerals), colC(some data)
Contains 2 columns -- ColA (URLs), ColB(Hits in Numericals)
Steps:
Take ColA(URLs) from file1 and search in ColA(URL) of files2.
Suppose we get 10 searches, I need to get the Sum of all the ColB(Hits) of file2 and
place it in file1 ColB of the first result.
Any kind of hints would be helpful. I tried many options, but none of them worked.
Should be possible under the following conditions:
Both Files are open
the URLs are the same
Then use code similar to this example:
=SUMIF([Name of file 2]NameOfSheet!$A$2:$C$6;A2;[Name of file 2]NameOfSheet!$B$2:$B$6)
Where $A$2:$C$6 is the range of data in file 2 and A2 is the cell with the value in file 1 and $B$2:$B$6 is the range of data to be summed up within file 2.
Hope this helps.

Resources