Conditionally-grouping from an excel spreadsheet - excel-formula

I have a list of people with their preferred games to play (in the exact same format as in the picture attached).
I wish to create new lists corresponding to the number of games, with each list specifying the relevant people - see example with the "basketball group" in the picture attached.
How can it be done using conditional statements?
I'd like to have an implementation if possible, I'm a bit confused.
Thanks.
Sample image

When using Office 365 you could use FILTER() in combination with FIND():
=FILTER($A$2:$A$5,ISNUMBER(FIND(LEFT(F$1,LEN(F$1)-LEN(" group")),$B$2:$B$5)))

Related

COUNTIF work arounds for SharePoint lists

I've looked at the following questions already posted in this forum, but neither quite address the specific issue I'm having.
Can I create a COUNTIF calculated column in SharePoint?
How can I build a CountIF function in SharePoint?
I am wondering if SharePoint allows you to reference a certain cells data to then look that value up in a column and count how many of that value there are. These would not be set values, which is why the workarounds proposed in the articles above are not working for me.
EX:In our Excel sheet that we are putting into SharePoint, we are using this formula =COUNTIF($C$2:$C$2007,C2007) and we are trying to translate this into SharePoint.
As shown in the image I've attached, we want a frequency column to calculate how many times each value in the Values column occurs. So the results would end up looking like what's in the image.
Sample Table with Desired Results
Based on my research, SharePoint does not support CountIF function, it is by design.
However, you can use "Group By" as a workaround:
1.Go to the list and click on All Items >> Edit current view
2.On the Edit View page, scroll to "Group By" section and select column that your wanted.

Creating a spreadsheet with drop downs that work off of each other

I have 3 different planting suppliers. Each supplier has prices for each of my areas (States). Normally, I’ve used the tab called Combined Bids and done the arithmetic on my own.
Combined Bids
I’d like to make something where I can choose from dropdowns and it give me the price based on the dropdowns I choose.
For instance, if I chose Alabama, Reforestation Specialists, Loblolly, 8x10, and Hoedad on the “Interface” tab it would return $52.06.
"Interface"
Lists
I’ve tried using IF statements in the data validation, but I never seem to get it correct. Thought about a Lookup table but I don’t know.
How would you do it? Any information or help would be greatly appreciated. Thanks so much. I'd be happy to share the spreadsheet as well. I didn't see a place to upload it. Again thanks!
You can create a drop down list using Data Validation
and then get the value using the VLOOKUP function
This is something you might want to look into.

Data Validation without Drop Down List

I'm wondering if it is at all possible to use Data Validation in Microsoft Excel (2007) without creating a Drop Down list.
I'm currently creating a seating plan for work. I want the user to have the ability to freely type in the name in a cell (Desk). There are 7 teams of approximately 10-12 people. so finding a name in a long list would take up too much time. however the name typed in the cell has to be be an exact match from a list stored else where in the spreadsheet. The reason for this is i use a formula to show if everyone has been seated or not.
if a name is typed in and its not an exact i would like for an error message to pop up.
Any ideas if this is even possible?
im open to VBA. but a complete noob when it comes to VBA.
Thanks in advance.
Tom
To get DV without the drop-down, use the Custom > Formula option. Here is an example:
Only the set defined by the formula will be accepted and no drop-down will appear when the cell is clicked.

Sharepoint Lookup Get values

I searched a lot on the web for my answer but could not find any one. I have an list with invoice and aircraft price list. The lookup works perfect i can select the aircraft type through the invoice list. I also want to be able to select if its a Platform or Hangar price. Can someone help me how i can achieve this?
Here are some screenshots
It looks like you are attempting some form of cascading drop down fields. These are supported in 2010 Enterprise edition but via the use of info path forms. This requires no code just some GUI based configuration. Unfortunately it's a little more in depth than me explaining it on here so I will provide you to a link for a blog.
Cascading drop down info path forms
Alternatively if you google around cascading drop downs there are plenty of articles involving other methods.
Cheers
Truez

Excel: Create a dropdown menu from a dynamic list without duplicates

The question pretty much says it I guess. For detailed information:
I have a range of cells (F3:F2000) in which there can be names filled in. I want to be able to count the amount of times, a name has been mentioned. I am doing this with =COUNTIF(...), which is not the problem and works perfectly fine. But I want to be able to have a cell with a dropdown menu in which you can choose from all names mentioned in F3:F2000. My approach so far is to create a dynamic list, and then use this for the dropdown menu. But obviously it just uses all the entries and therefore I get a bunch of the same names. So how do I remove the duplicates? I assume this has to be done in the dynamic list.
Here is my formula for the dynamic list:
=OFFSET(Logbook!$F$3:$F$2000,0,0,COUNTA(Logbook!$F$3:$F$2000)+1,1)
And for those stuck with german excel like me :(, the german version:
=BEREICH.VERSCHIEBEN(Logbook!$F$3:$F$2000;0;0;ANZAHL2(Logbook!$F$3:$F$2000)+1;1)
Take a look at this posting, I think it answers your question.
http://www.get-digital-help.com/2009/05/25/create-a-drop-down-list-containing-only-unique-distinct-alphabetically-sorted-text-values-using-excel-array-formula

Resources