Excel 2011 :: Using OFFSET And COUNTIF Inside Data Validation?

Oct 1, 2012

I have a from that work great in PC but if opened in a MAC, some of the functions will not work.

For example, There is one cell with Data validation that based on the value selected in another data validation cell, it should only display all possible options pertaining to value chosen. These are the values: a user select a customer based on customer name. The Data validation will the put the customer number in cell AF3. In another call with Data Validation I have this formula:

"=OFFSET(SHIPTO,MATCH(AF3,SHIPTOColumn,0)-1,2,COUNTIF(SHIPTOColumn,AF3),1)"
SHIPTO is the Name range for the tabs called SHIPTO with "Shipto!$A$1"
SHIPTOColumn is the Name Range for "SHIPTO!$A:$A"
Column A is where the customer numbers are.

This work fine in a PC but not in the MAC using excel 2011

View 1 Replies


ADVERTISEMENT

Excel 2011 :: Data Validation Dropdown List?

Jan 2, 2012

I'm using Microsoft Excel for Mac 2011. I'm creating a drop down box from List within Data Validation. It's only letting my create a list of 17 names. My longest list is 63 names. What do I need to do to create a list that will support that?

View 3 Replies View Related

Excel 2007 :: Using IF / VLOOKUP Formulas INSIDE Data Validation

Sep 6, 2011

What I have attached is spreadsheet I've built to quickly generate an army list for a tabletop game. Anyone can click on the Force Organization Slot (FOS) and choose the type of unit and from there, select the specific unit name attached to that FOS. Each individual unit has a list of options/upgrades currently attached to the sheet from cells AD through AX and the points cost listed next to each upgrade.

For example, when selecting the Rhino unit from the Dedicated_Transport FOS, there should be 4 drop down lists of selectable upgrades (Storm Bolter, Hunter-Killer Missile, Dozer Blade, and Extra Armor). Currently, I have only named the ranges for the Rhino and Razorback units in order to get this working properly without having to go through the entire list of units and change names/create ranges/ect.

What I'm aiming to do is to create an individual drop down list that is directly related to the Unit Name cell in order to populate a complete and selectable upgrade list for each unit. I have played around with some functions that work in the spreadsheet (see cells X10:X12) but do not work properly with Data Validation.

Oddly enough, when I enter this formula under Data Validation:

=IF($A$3<>$AD$1:$AD$182,VLOOKUP(A3,Options,2,FALSE),"")

I do not get an error, yet the drop down list does not allow me to select anything as I thought it would.

View 14 Replies View Related

Data Validation With OFFSET

Jul 8, 2006

I'm trying to use three nested Do..While loops to find data in a worksheet and consolodate it in a table. Individually the loops work, however when I nest them only the innermost loop works. The inner loop is written to exit when the Find value is Empty and the other two exit when firstaddress = latest address so they will only cycle through their range once.

Problem is when nested, the middle loop FindNext is Empty and exits on the first go, and the outer loop FindNext looks for the value of the cell above the first found cell, rather than what it should be looking for, and so creates an infinate loop. I thought this might be a problem with the ranges being redefined in each loop but respecifiing the range at every Find/FindNext hasn't solved it.

View 4 Replies View Related

Excel 2011 :: Exact Some Data From A File

Sep 15, 2012

I use mac and I have "Excel for Mac 2011".

I need to exact some data from a file. I can open the file, but can't see any data of it. I am afraid I need to do some setting so that I can see the data, but I don't know what should I do

View 1 Replies View Related

Offset Formula In Data Validation

Jul 16, 2006

How do I hardcode the Offset function? Right now I am placing the offset formula in Validation from the Data menu toolbar.

Also, I have two columns "Expense" and "Income" used for offset. Expense has 11 selections for the listbox, and Income has only 3. When I choose income from the dropdown in column B, I get way too many blank selections in the dropdown just because It doesnt contain as many items as Expense. How can I re-code adn hardcode the formula so I have only few blanks for my selection.

I have attached a copy "data validation test" to help make things more clear.

View 7 Replies View Related

Excel 2011 :: Shuffle Row Position After Data Refresh?

Jul 12, 2013

I am using Excel 2011 and we have a link data source to the outside SQL Server.

For the 1st step, I linked to the Database and retrieve the data.

P1.png

2nd step. Sort the data by using the column "Description" Descending. Add another column to the table and put the 1, 2, 3, etc in that column.

P2.png

3rd step. I clicked on "Refresh" and the new column values are not consistent. I mean they are moving. So, I added another row in the database to test and it becomes very obvious. It can be clearly seen at the following image. The value of "A" should always be "10", but it has been changed to "1" after the refresh.

P3.png

how I could retain the position of another column after the data refresh?

View 3 Replies View Related

Excel 2011 :: Pasting Data In Workable Format

Sep 14, 2013

I have switched from an ageing Mac Powerbook, Excel 2004 for Mac, and an out-of-date version of Firefox to an IMac with Excel 2011 for Mac and Safari as a browser. The only reason why I mention this is because I don't know if it was easier to do this on an older platform (one of those bizzare situations where going forwards is actually a step backwards).

In short I like doing things with Sports data in Excel. Usually I would hit my favourite website for pulling sports data (which incidentally I don't know if this has changed as I've been too busy to do much of this kind of thing for about 4 months - or if it is just a different format on a newer machine/different browser);

[URL] ....

The link should be showing NFL results for this year so far (I like the site as it has a handy amount of other sports etc.).

I would usually then go edit/paste special - unicode text and then hit the paste options, use the text import wizard, go delimited, tabs - and usually everything would come in on a row and then I could do what I need to do with it (e.g. use Excel's text functions to get the data - taking spaces out for example - to where I want it to do other things).

The problem I seem to be having now is that when I do the above - things no longer seem to come in on the same row (which makes life difficult for doing things easily with the data). Once things end up on different rows it becomes a pain to do basic things.

In short is there a way round this (or do I need to find another source for my data with tables laid out in a more friendly way to "borrow" data)?

View 9 Replies View Related

Excel 2011 :: Extracting Data That Is Text Based (Mac)

Jul 26, 2014

I have a workbook with 2 sheets.

Sheet 1 will act as a summary for sheet 2, showing only the last 5 entries from sheet 2.

Sheet 2 is based on football results of a season which will have a total of 34 league games plus cup games.

Sheet 2 has 4 columns:

Game Number Home Team Result Away Team
1 United 2-0 City
2 Sportive 4-2 Uniao
3 Real 1-0 Ateltico
4 Villa 1-3 City
5 United 2-1 Real
6 Atletico 0-0 Villa

So sheet 1 will show the last 5 results as the season progress's and new data is added.

I have been able to extract column 'GAME NUMBER' using the following formula:

=INDEX('Back end 1'!A:A,MATCH(9.99999999999999E+307,'Back end 1'!A:A)-ROWS('Back end 1'!A2:A$6)+1)

I am struggling to find a way to pull the last 5 data that is text based.

I am using Excel Mac 2011.

View 3 Replies View Related

Data Validation List - OFFSET Function

Apr 20, 2012

I have the following formula in a Data Validation List:

=OFFSET(B8,MATCH(J2,
(CHOOSE(B7,D1Array,D2Array,D3array,D4Array,D5Array,D6Array)),0),1,COUNTIF(CHOOSE(B7,D1Array,D2Array, D3array,D4Array,D5Array,D6Array),J2),1)

In B8 it is the formula =VLOOKUP(B7,LookupTable,2,0). and the lookup array is this 1$H$112$J$113$L$114$N$115$P$116$R$11

So the value returned in B8 will be a the start reference for the OFFSET function. This works but it retuns blank values and not the values in the arrays.

View 3 Replies View Related

Excel 2011 :: Pivot Table Not Refreshing With Data Dynamically

Oct 7, 2011

Named my data range using this formula:

=OFFSET(Sheet1!$A$1,0,0,COUNTA(Sheet1!$A:$A),COUNTA(Sheet1!$1:$1))

I was hoping that my pivot table would refresh with the new data that I added on sheet 1 but it is not working and yes I have refreshed my pivot table. The new data is not capturing.

Is this the correct formula for Mac Excel 2011?

View 1 Replies View Related

OFFSET / Data Validation - Dropdown List Not Working

Aug 21, 2012

I have the following function in cell (table 2 column C) where I want to find a contact name from my table TMI if 3 criteria are true (client, account, NAM) For each contact I have 1 true combination of client/account/NAM but for each client/account/Nam I can have several contacts.

{=OFFSET(TMI[[#Headers],[Contact]],MATCH(1,(TMI[Client]=$B$1)*(TMI[NAM]=C3)*(TMI[Account]=B3),0),,COUNTIFS(TMI[Client],$B$1,TMI[Account],B3,TMI[NAM],C3),1)}

The function is working well but shows only the first contact name if I have 3 contacts for the same client/account/NAM. (I pressed Ctrl+Shift+Enter)

When I press F9 on the function, it shows all the contact names! so they are somewhere.

Hence, I have copied and pasted this function into data validation / list in the source but it came up with an erreur.

Table TMI:

A B C DClient
Account
NAM
Contact
Comments

[Code]..

Table with offset function:

A B C D

Chi
Account
NAM
Contact name
Comments

[Code]..

All client, NAM and account lists are dynamic !

View 2 Replies View Related

CountIf Inside Of VBA?

Dec 16, 2011

I have a userform that updates col's A thru E. (undetermined amount of rows)

I need to sum col's B thru E individually.

It would always be summing from row 3 of col B thru E.

I have the code that finds or selects the last cell of each col.

I'm not sure how to put the "countif" function code into VBA.

Example would be col B would be populated with the letter "A".

I would need to count how many "A's" in column B.

View 2 Replies View Related

Offset Real Time Data Based On Validation List

May 8, 2007

What I have:

I have 12 months in a year and each number represent a month. I have generated lists of data mainly interest and principle payments from 12 amortization sheets which i have just copied into the attached spreadsheet and will change accordingly based on the loan terms which doesn concern us. For our purposes we wont make distintion between principle and payment as i just need to see how to make what i need work.

What I need:
I need to offset data vertically automatically once i the user selects an option value (Number in this Case) from the validation list located within the Payment control box. Going from left to right you see the raw data but in this example i need the data on the right hand side to be offset down the number of rows which may be found in the control box as a validation list.

IE:

So if i were to use "Loan I" [L6] and select a "2"[J6] from the "Payment Control" then the data on the right hand side [L6[ would reflect a $0 but instead the new value for L7 would be "$24.96" and would continue down for about 374 rows. This will have to be done for Loans I - Loans N [L6:Q6] respectively. This is all i need in order to compile and make use of in my spreadsheets.

Thanks and cannot be a formula as forumlas will be overwritten and cannot be a macro so it must be a module in itself so it an run when the list is changed.

the single digit values in coulmns M6:Q3 are there mainly so you can see the difference between the base and the position at which the data is placed at. its not need but is there to stress and to show the number rows in offset of data.

View 9 Replies View Related

Excel 2011 :: Can't Get Index Match Max Functions To Work Sampling Data From Multiple Columns

Jan 29, 2014

I have 3 calculations I would like to make based on data in the spread sheet and I can't seem to get them to work with data from the two separate columns.

I tried a few of the index match max formulas I found here and could only get them to work with one column of data.

I have the spread sheet attached and the 3 calks I want to do are blank on the bottom.

I am using Excel 2011 for Mac

View 7 Replies View Related

Countif Using Indirect With Concatenate Inside?

Oct 4, 2011

I have this formula in a cell which gives me a #REF error:

=COUNTIF(INDIRECT(CONCATENATE("'Working area'!",ADDRESS(6,13),":","'Working area'!",ADDRESS(6,742))),"N")

The concatenated text string calculates to

'Working area'!M6:ABN6

In that range I would like to count the occurrences of the letter N.

(I have simplified the ADDRESS function to ADDRESS(6,13). In my real spreadsheet, the number 6 is obtained by some more function-combinations.)

View 1 Replies View Related

COUNTIF Doesn't Like HOUR Function Inside Of It

Jun 24, 2014

The first three formulas give valid results but the fourth example throws in an error after hitting Enter. As you can see I put in the HOUR function. As far as my knowledge goes the HOUR function generates an integer.

So why does C4 not work? Formulas go in column C

A
B
C

1
22
20
1
=COUNTIF(A1,">"&B1)

[Code] ........

View 2 Replies View Related

Hyperlink Function Inside Of A Validation List?

Feb 22, 2007

Is it possible to use the HYPERLINK function inside of a validation list?

Presently I have a dynamically named range on another worksheet that includes a hyperlinked term. When I attempt to create a validation list using this named range the term appears in the list without the hyperlink.

View 7 Replies View Related

Dynamic Range Using Offset And CountIF

Dec 3, 2008

I have a data set that alters each week which means at the moment I have to update the ranges manually each time. I would like to use a dynamic range and think I need to use the Offset and CountIf functions. Both the start and end of the ranges are dynamic. The range is based on grouping the numbers in Column E (LocNo)

What I would like to do or think the way to achieve this is by:

First looking at Column E

Count how many cells are equal to criteria. (CountIf)

offset 5 columns left from the first cell that meets the criteria (Offset -5)

offset X rows down based on how many cells meet the criteria (Offset X)


I've include a spreadsheet spread sheet which 'should' help illustrate the problem showing the ranges I would like and how the data changes each week.

View 5 Replies View Related

Conditional Formatting: OFFSET Function To Define A Range Inside A SUM Function

Apr 13, 2007

In Mr Excel's Pod Cast on April 12th, he showed how to use the OFFSET function to define a range inside a SUM function. Then he had Conditional Formatting that would highlight the range that was being summed. Can anyone tell me what the formula would be inside the Conditional Formatting dialog box to get the OFFSET range to have a certain format?

View 9 Replies View Related

Excel 2011 :: Text To Columns VBA (Mac)

Feb 27, 2012

My VBA which works fine on Excel 2007/2010 does not work on Excel for Mac 2011.

how I would convert this to work on Mac 2011?

Code:
Columns("AI:AI").Select
Selection.TextToColumns Destination:=Range("AI1"), DataType:=xlDelimited, _
TextQualifier:=xlDoubleQuote, ConsecutiveDelimiter:=True, Tab:=False, _

[Code]....

View 1 Replies View Related

Excel 2011 :: Save As XLS File VBA On Mac OS X?

Aug 15, 2013

I am running Excel 2011 on Mac OS X. I am trying to save a file (.xls) to a server (Autumn). I have tried several configurations to try to get the file saved properly. File name is "Testfile.xls"

1. folderpath = "Autumn:Tim:TestFolder:" & filename --Activeworkbook.Saveas filename:=folderpath

2. folderpath = "Tim:TestFolder:" & filename Activeworkbook.Saveas filename:=folderpath

3 Activeworkbook.Saveas folderpath

When I try this, I get an Error 1004 indicating that it cannot find the file. Do I need to eliminate the .xls and then specify that when I do the saveas?

View 1 Replies View Related

Offset Function With Validation

Jul 5, 2007

find attached the excel sheet. In sheet1 I have named the range I have inserted a Name(Test) for range $A$1:$A$2(range contains only texts) and have a list validation on cell $B$1 using the name. This works perfectly. In sheet2 I have named the range I have inserted a Name(Test1) for range $A$1:$A$2(range contains only numerics) and have a list validation on cell $B$1 using the name. This doesn't work.

View 3 Replies View Related

Excel 2011 :: Copying Calculated Hyperlink

Sep 26, 2013

For Mac Excel 2011, though I think my question would apply to any modern version of Excel.

This is a little odd. I have a sheet where, for various reasons (see below ### if interested), I need to copy a hyperlink, replace a substring, and then return the new hyperlink (with old friendly text) to the original cell. (I actually have to do this with an arbitrarily-long column of links.) This was my plan of attack:

* Pull the URL from the hyperlink cell.
* Use FIND and RIGHT to strip out what I need and replace it
* Use HYPERLINK to build a new cell with the original friendly text and the new hyperlink.
* (Manually) copy this new link (really, a column of links) back to the original cell (really, column of cells).

Here's where it breaks down:

a) If I simply cut-and-paste, the formula used to pull the hyperlink becomes circular (as do several others), and Excel complains.
b) If I cut-and-paste-special (values only), I get just the friendly text, no link info. Likewise if I try to reference the "fixed" hyperlink.

The erroneous hyperlinks are in column K. My calculated correct hyperlinks are in column S. (There are similar errors and fixes in L and T, respectively.)

View 1 Replies View Related

Excel 2011 :: Loop Through All CSV Files In A Folder

Nov 23, 2011

I want to open all csv files in a folder and just copy and paste some columns into another file. I am having a bit of trouble with the following code which can be found at ozgrid and I have modified slightly so it looks in the current directory instead of a fixed path...

Code:
Sub RunCodeOnAllFiles()
Dim lCount As Long
Dim MyDir as string

[Code]....

For starters, if I don't use on error resume next I get a runtime error 445: object doesn't support this action. So when I use the on error resume next, then by the time it gets to the foundfiles line, there are no variables set, so on the next line (workbooks.open) nothing happens.

Is there an easier (more up to date?) method to open all csv files (or excel files) in a folder?

View 6 Replies View Related

Excel 2011 :: Creating Button On Spreadsheet?

Dec 12, 2011

In MS Excel 2011 for Macintosh can I assign a macro to an object, such that if the user clicks the object it runs the macro? That is creating a button on the spreadsheet that will execute a macro.

View 2 Replies View Related

Excel 2011 :: Drop Down Menu With Results?

Jan 25, 2012

So i am working on an attendance tracker here. I already have aligned on a separate tab all of the works aligned next to their manager

EX
Column A: Column B:
Worker Name Manager

What i would like to do is create a drop down menu with all of the Managers name listed to where someone can select that manager and when they do all of the workers names show up in Column A and then that Manager Listed next to them.

Is there a way to do this... I am using office 2011 btw. Once when i get this last part completed with this drop down menu i should be complete!

View 2 Replies View Related

Excel 2011 :: Column And Row Headings Missing (Mac)

Jun 5, 2012

I have a friend using Excel for Macs 2011 and the column and row headings (ABC & 123) are not showing on the spreadsheets on the screen. How to turn them on. I fgure they got turned off somehow?????

View 5 Replies View Related

Excel 2011 :: Using Macros To Export / Archive

May 2, 2013

I'm using Excel 2011 on a MacBook Pro. Here's my situation:

I'm running a monthly budget report that's got three spreadsheets within the workbook. Spreadsheet #1 is summary sheet with a few pivot tables. Spreadsheet #2 is the data sheet, where all of the information is entered, and is what feeds the pivot tables on Spreadsheet #1. Spreadsheet #3 is just a list page that populates the drop-down list on the second sheet.

As this is a monthly budget report, I'd like to find some way to archive the first spreadsheet (the summary sheet) every month. Ideally, I'd like to be able to create a macro-driven button that, when clicked, does the following actions:

1) Creates a new spreadsheet, with each click, named for the current month and year.
2) Archives the exact contents of Spreadsheet #1 by making an exact copy of its current contents, and places this copy into the newly created spreadsheet.
3) Clears the data from Spreadsheet #1 AND Spreadsheet #2.

To summarize, I'm trying to use a button that, when clicked, runs a macro that archives the current month's data into a new spreadsheet, and then clears the data from Sheets #1 and #2 so that I can start each month with a clean slate. If there's a way to only clear the data from certain cell ranges (as opposed to a complete wipe of the sheet), that would be even better.

View 2 Replies View Related

Excel 2011 :: Insert Calendar Dropdown For Mac

Dec 5, 2013

How to insert a Calendar Dropdown for Mac Excel 2011? Also, do I have to readjust this (for lack-of-a-better-word) 'add-in' everytime the calendar year changes? This will be used for a payroll template.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved