Data Validation in Excel 2007

I have three drop down lists that I have already made dependent on the first list selection using the INDIRECT formula. Is there a way to make the selection in the two following dropdowns Depth & Thickness select cells within the data
list rather than the complete list?
Material         
Depth             
Thickness
UPVC               
250mm                        25mm
Aluminium      
225mm                        
22mm
Timber            
200mm                       
19mm
Steel               
175mm                       
16mm
Other              
150mm                       
Other
The example maybe that the user selects
Aluminium then the Depth dropdown list will only show
225mm,
175mm and
Other rather than the complete list, this will also restrict the Thickness dropdown would
restrict its list as well.
Once these selection is made they will be used in a separate cell to calculate a cost. So if
Aluminium,
225mm,
Other is selected then there is a rates table that will return
the cost of that selection. Any suggestion on how to do this would also be helpful.

The source range for data validation of type List must be contiguous, so you cannot show individual, non-contiguous entries from the list. So it's better to create a list of available depths for each material, and name the ranges for example Depth_UPVC,
Depth_Aluminium, etc.
For example (using fictitious values):
Let's say the dropdown for Material is in cell D2; you can then use =INDIRECT("Depth_"&D2) as source for the Depth dropdown.
Similar for Thickness.
Let's say you have a rates table on a sheet named Rates with material in A2:A100, depth in B2:B100, thickness in C2:C100 and the corresponding rate in D2:D100.
Material, depth and thickness are on the current sheet in D2, E2, F2. The corresponding rate is given by the following array formula, confirmed with
Ctrl+Shift+Enter:
=INDEX(Rates!$D$2:$D$100,MATCH(D2&E2&F2,Rates!$A$2:$A$100&Rates!$B$2:$B$100&Rates!$C$2:$C$100,0))
Regards, Hans Vogelaar (http://www.eileenslounge.com)

Similar Messages

  • Data Validation in Excel used in Format Range

    Hi Experts,
    Im just wondering if there's a way i can use format range to carry out the data validation of excel.
    i mean, i need to limit the users to enter only numberic data to the input cells, hence they cannot input any letter and negative values.
    i tried applying the data validation in format range but, its not spreading the data validation.
    if i apply data validation to every cell, when i expand, the data validation disappears.
    Any advise.
    Thanks much as always...

    Hi,
    I was not able to use Data Validation in FORMAT RANGE.
    If you want to apply this data validation for the whole data range, you can apply this data validation in the first cell of the first row,first column of evdre. It will apply to the whole data range.
    If you want to apply this for certain columns, its a bit tricky.
    You must break your columnKeyRange into 2 and insert a column in between. In the 1st columnkeyrange, get the data, hide this column alone and add this column in getonlyrange. Next, in the newly inserted columns between the 2 column key ranges, you can use your Data Validation in 1st row. While expanding, it will automatically copy the data validation to the remaining rows. Now, In the second columnkeyrange, get the value based on the data validation cell, hide this column alone. So now you will have 3 columns, with those in the column key ranges as hidden ones and the one in between will be shown to the users.
    I know, this workaround is a bit tricky, but it works flawlessly. I have used this for umpteen sheets.
    Karthik AJ

  • Help with exporting forms based data to Excel 2007

    I have a user who is attempting to export forms based data to Microsoft Excel 2007 and when he attempts this he receives a message stating that Windows does not recognise this file type (tsv). I am not too familiar with Office 2007 so I am unable to direct this users as to how to correct this issue.
    Is someone able to give me the navigation path to help me to assist this user? thanks

    Did you verify the file type from Windows Explorer?
    1) Right click on My Computer > Explore
    2) Go to Tools > Folder Options
    3) Click on File Types tab
    4) Check if TSV file is defined there or not. If it is not there, click on New and add the File Extension

  • Is Discoverer Plus compatible to the Microsoft Excel 2007?

    Hi,
    I have a Discoverer Report in which the data is formated with Bold,underlines, $ signs and different background color for the grnad totals etc..
    When i export the data to microsoft excel 2007 i loose all the formatting. Microsoft Excel 2003 did not had this problem.
    Is Microsoft Excel 2007 is compatible with Discoverer Plus? Do we have any Patch which will resolve this issue?
    Please advice.
    Thanks in advance.

    Hi,
    Is Microsoft Excel 2007 is compatible with Discoverer Plus?Yes,it is compatable with discoverer and we are also using office 2007
    Do we have any Patch which will resolve this issue?there is no patch required for this and it doesnt deal with patches.Do check out with your admininstartor installed office properly or not.By the ay did you install full version which is licensed or the crack version.I dont think so crack version works out.
    go through this link [http://support.microsoft.com/kb/277621]
    Hope it helps you.
    Kranthi.

  • Excel-2007 cannot connect to Oracle ODBC data source, Control Panel can.

    <p>
    I cannot make an ODBC connection from Exce-2007 to Oracle work. I am an expert Excel and VBA user (since 1994) and I have frequently used Excel to access ODBC databases, including Oracle (I have done this with Excel-2003 both with worksheet queries and have written VBA ADO-connection routines). And even though in Excel-2007 a worksheet ODBC query is supposed to be easier to create than in previous version of Excel, my connection fails. Any suggestions and all help are welcome and much appreciated.
    DETAILS
    </p>
    <p>
    1) <strong>What is my system?</strong> I am using Excel-2007 on Windows Vista x64 and Oracle server v.11g on my computer (all this is on my computer, no network issues).
    2)<strong> Why use Excel with Oracle at all?</strong> I use Excel-2007 to access Oracle rather than Access-2007 (or any other application like TOAD, etc.) because I do engineering calculations with the data stored in Oracle. These calculations are easier done in Excel (I suppose that one alternative to this could be to use some sql or Access to get the data from the database, then store it as plain vanilla CSV file, then open this file in Excel, then do the math (the math involves complex optimisation algorithms), then save the results as CSV, then use some sql or Access to put the data back into the database. Howwever this does not strike me as a quick or neat solution. And after all Excel has been designed to access ODBC databases, so why not use it?)
    3) <strong>What do I do in Excel-2007 that won't work?</strong> I create an ODBC link to Oracle that does not work. In Excel-2007 this is straightforward:
    </p>
    <ul>
         <li>define an ODBC connection (Data tab --&gt; From other sources --&gt; From data connection wizard);</li>
         <li>define a query on the worksheet -- that's it, this is all!</li>
    </ul>
    <p>
    I start with creating an ODBC connection:
    a) I choose an ODBC data source type: <strong><em>ODBC DSN</em></strong>
    b) Excel-2007 displays the list of the available ODBC data sources. I see in it <strong><em>my Oracle database name</em></strong> and I select it.
    c) Excel-2007 displays the Data Link Properties:
    - the "Provider" has a list of the OLE DB drivers with preselected "<strong><em>Microsoft OLE DB Provider for ODBC Drivers</em></strong>". I keep this default selection.
    - the "Connection" tab has a connection string "<strong><em>DSN=&lt;my database name&gt;</em></strong>" which I keep, it also has fields for the <strong><em>user name</em></strong> and the <strong><em>password</em></strong>, which I fill with the correct credentials.
    - Finally there is a button "Test Connection", which when I click produces the following error message:
    <strong><font color="#ff0000">"Test connection failed because of an error in initializing provider.</font></strong><strong><br />
    </strong><strong><font color="#ff0000">Unespecified error"</font></strong><strong>
    </strong>
    4) <strong>Additional food for thought:</strong>
    a) In the above walk-through the only data, which I type, are the user name and password, everything else is selected from lists offered by Excel-2007, hence any possibility of typos being the cause of the problem can safely be discarded.
    b) I can test the ODBC driver in the Control Panel and it shows that it can connect to the Oracle database:
    - in <strong><em>Control Panel --&gt; Admin Tools --&gt; Data Sources (ODBC)</em></strong> on the "User DSN" tab I can see the list of the available ODBC data sources (same list as in Excel-2007, point 3b above) with the name of my database in it;
    - selecting the name of my database from the list of the sources and clicking "Configure" button opens a tab with <strong><em>Data Source Name</em></strong> (same as in Excel-2007), TNS Service Name and User ID. I enter <strong><em>&lt;user name&gt;/&lt;password&gt;</em></strong> and click "Test Connection" button. A message "<strong><em>Connection successful</em></strong>" appears (just for a test I enter <u>incorrect user credentials</u> and "<strong><em>Unable to connect</em></strong>" message appears)
    BOTTOM LINE
    </p>
    <p>
    The procedure for using an ODBC connection from Excel is very simple, in the past I have created and used such connections numerous times with Excel-2003 and earlier on Win-XP and earlier. But now on Excel-2007 and Vista-x64 I cannot make it work.
    Also, testing an ODBC connection driver is really easy and simple to be done in the Control Panel. There testing the same ODBC connection, which fails in Excel-2007, results in success.
    I am frustrated by the simplicity of the problem and yet the persistant error. I have lost now two full days in failed attempts to make the simple procedure work and in searching the internet for answers.
    All help is highly appreciated <img class="emoticon" src="images/emoticons/happy.gif" border="0" alt="" width="16" height="16" />,
    Plamen
    </p>

    Did you find the solution to your problem?
    If not, I think I may know.
    Excel 2007 is a 32-bit application.
    When installing 32-bit applications in a 64-bit environment, the "default" location is:
    C:\Program files (x86)\...
    Excel then launches from this location.
    However, when it connects to Oracle and passes the name of the calling program, Oracle attempts to "interpret" the value of (x86) as if
    the value within the parenthesis are being passed as a reference. Of course, iOracle doesn't find anything, so the result is (),
    and then it cannot return the connection info back to the calling application.
    I corrected it by installing Excel in C:\Program Files\, and once launched from that location, it works the same as on the 32-bit machines.
    However, at my location, they are FORCING Excel to be installed in the(x86) location.
    What I'm trying to discover now is:
    Is it possible to flag Oracle to NOT process the embedded variables?
    Or, is it possible to assign a variable in Oracle such that x86 = "(x86)", so that the end result is viable?
    Have you had any luck with your installation?
    thanks,
    Paul

  • Excel 2007 = Refresh All = Error Message "Initialization Data Source Failed"

    Excel 2007 => Data Tab - Refresh All => Error Message "Initialization Data Source Failed
    2nd Error message:
    The following data ranged failed to refresh:  ExternalData1 - Continue to refresh all
    How do I resolve this? Trying to connect to Oracle DB environment 12C

    What will happen if you rebuild the PivotTable/Table ?
    Make sure the external database is available and the Oracle Provider for OLE DB is installed correctly.
    Wind Zhang
    TechNet Community Support

  • Exporting data to Excel 2007 from SAP report

    Dear all,
    Earlier we used to have Excel 2003 and while downloading data from MC.9 Report - Export - Transfer to XXL, we could able to download the data.
    Now we have installed Excel 2007 and trying to download the data from MC.9 report, its opening excel, but no data is being copied,,, blank excel sheet,,,, further we could not able to download the data.
    Is there any setting need to be done in SAP reporting or excel 2007 to download the data to Excel 2007.
    thanks in advance.
    urendra

    Pl. go through the following step.
    1. Execute MC.9
    2. Select (click on) key figure column
    3. Select  Time series Button (CtrlShiftF4)
    Now seperate window will come.
    4. Select the button Save to PC file (shift+F8)
    By this procedure you can download to excel
    Regards
    Amol

  • Conditional format with large data fails and show error as "Selection is too large" in Excel 2007

    I am facing a issue in paste special operation using conditional formats for large data in Excel 2007
    I have uploaded a file at below given location. 
    http://sdrv.ms/1fYC9qE
    The file contains two sheets, Sheet "Data" contains the data on which formats are to be applied and sheet "FormatTables" contains the format tables which contains conditional formating.
    There are two table in "FormatTables" sheet. Both have some conditional formats applied on it. 
    Case 1: 
    1. Select the table range of Table1 i.e $A$2:$AV$2
    2. Copy it
    3. Goto Sheet "Data" 
    4. Select data area i.e $A$1:$AV$20664
    5. Perform a paste special operation on full range and select "Formats" option while performing paste special.
    Result:
    It throws error as "Selection is too large"
    Case 2:
    1. Select the table range of Table2 i.e $A$5:$AV$5
    2. Copy it
    3. Goto Sheet "Data" 
    4. Select data area i.e $A$1:$AV$20664
    5. Perform a paste special operation on full range and select "Formats" option while performing paste special.
    Result:
    Formats get applied successfully.
    Both are the same format tables with same no of column and applied to same data range($A$1:$AV$20664) where one of the case works and another fails.
    The only diffrence is Table1 has appliesTo range($A$2:$T$2) as partial of total table range($A$2:$AV$2) whereas the Table2 has appliesTo range($A$5:$AV$5) same as of its total table range($A$5:$AV$5)
    NOTE : This issue is only in Excel 2007

    Excel 2007 No Supporting formating to take a formatting form another if source table has more then 16000 rows and if you want to do that in more then it then you have ot inset 1 more row in your format table to have 3 rows
    like: A1:AV3
    then try to copy that formating and apply
    Solution Case 1: 
    1.Select the table range of Table1 i.e AV21 and drage it down to one row down
    2. Select the table range of Table1 i.e $A$2:$AV$3
    3. Copy it
    4. Goto Sheet "Data" 
    5. Select data area i.e $A$1:$AV$20664
    6. Perform a paste special operation on full range and select "Formats" option while performing paste special

  • Excel 2007 accessing PivotItem.Visible gives error if the field item value is a DATE

    I have VBA code to manipulate the content of a pivot table - essentially it hides all but the first N items in a pivotfield.  Under Excel 2003 the code works fine, as expected irrespective of the data content of the pivot field item.  Under Excel
    2007, if the data content is a date, the VBA code generates one of several error conditions.
    pivotItems(i).Visible = True
    Generates error 1004 - Unable to set the visible property of the pivot class
    If pivotItems(i).Visible = True then...
    Trying to test the visibility generates error 13 - type mismatch
    ?pivotItems(i).Visible
    Trying to determine the visibility of the pivot item in the VBA immediate window, this generates error 2042
    I have an illustrative spreadsheet which permits the code to process two different pivot tables, one using a field containg dates; the other a field containing text.  Under Excel 2003, the code works on both pivot tables.  Under Excel 2007 it works
    on the text field table, but fails on the date field table.
    I have looked for answers on numerous support forums including answers.microsoft but found not found any answers... only the same or similar unanswered question.

    Hi Herbert,
    Thank you for your continued interest; please find a revised illustration of the problem here -
    http://www.mediafire.com/download.php?zc6ty9ctl1n7yd9
    I have made the following changes / additions to the problem illustrator:-
    Adopted the use of lists for the data source of the pivot table
    Removed reference to '(blank)' as a reserved item not hidden by the VBA code to avoid the possibility of hiding all items
    In respect of my original code (MK1), utilised a 'real' item name to be the
    reserved item
    Added a new (MK2) macro to alter the number of visible items which
    hides all but one of the VisibleItems collection
    makes the first N items in the collection visible
    checks that there are only N items visible (the position of the reserved item
    might be greater than N)
    The code still executes as expected under 2003, but fails (the same as before) under 2007 when the data type of the PivotItem is date.
    The MK1 code fails when testing the current visibility of the Item before trying to set the visibility with:- RTE 1004 Unable to
    get the PivotItems property of the PivotField Class
    The MK2 code fails when trying to set the visibility with:- RTE 1004 Unable to
    set the Visible property of the PivotItem Class as reported above.  Note - given that MK2 avoids trying hide invisible items or unhide visible items, I no longer believe that this error is due to the attempt
    to set visibility to current state as seen under Excel 2003. I am deeply confused by this now!
    I observe with care the different CLASSES on which these failures are reported even though in each case the operations are on the PivotItem.Visible property - MK1 queries it / MK2 attempts to alter it. 
    Just in case you have been wondering where this is going, this spreadsheet has no prupose beyond illustrating the Excel 2003 / 2007 problem being encountered elsewhere when manipulating pivot table items whose value are dates.  The requirement
    is to provide a simple user interface to a complex managing reporting spreadsheet consisting of a significant number of pivot tables and charts - altering one cell causes the VBA code to modify the collection of pivot tables to deliver a revised view of the
    data.  All works fine for 2003 users of the model, but not 2007 users.  I need one spreadsheet which will work correctly on both 2003 & 2007.
    Regards.

  • Crystal Reports 2008 - Excel 2007 Data Source

    Have been using Crystal reports 10 and have downloaded 2008 but I can't see a way that I can use an Excel 2007 spreadsheet .xlsx as a datasource. The reason I need 2007 is due to the increased number of columns.
    Can anyone confirm if it can be done if so how
    cheers
    Malcolm

    Hello,
    Sorry its not supported. Next version of CR will support it.
    CR 2008 will generate sheets for every 65,000 rows of data.
    If you need that many coumns you may want to look at some other export format or refining your data.
    Thank you
    Don

  • Excel 2007 error when displaying GL Planning Data (GP12NA)

    Dear All,
    T-code:GP12NA
    When i display the GL Planning Data using the integration with office excel 2007, the cell automatically becomes to date and time format on the value field.
    But when i display using integration with office excel 2003, the GL Planning data is displayed correctly.
    Appreciate if someone could address me on this issue.
    Many thanks.

    Hi Jason,
    I did not able to solve the problem.
    Alternatively, I created 2 planning layout assigned to one planning profile.
    1. Layout 1 - Integrated with excel (tick)
    I used this layout for for uploading GL planning figures using the t-code GLPLUP.
    2. Layout 2 - Integrated with excel (do not  tick)
    To display the GL Planning figures, i used this profile in t-code GP12NA. By this way, the figures are correctly displayed without any formatting error.
    I assume this due to patches that needs to be upgraded in order display excel 2007 correctly.
    Please reply me if you need further clarification.

  • Excel 2007 data file

    I am not able to create a new conection with a file saved in excel 2007 (*.xlsx) does anyone know why??

    Hi Brian,
    I use Crystal XI, what I do to conect to my database is just click on "creat a new conection" and click on "access/excel (DAO)" then browse to pick my file, It has been working with no problems but I just changed my excel version from 2003 to 2007, and It is giving me the following error
    LOGON FAILED.
    DETAILS : DAO ERROR CODE 0xcca.
    SOURCE :DAO Workspace.
    DESCRIPTION : EXTERNAL TABLE IS NOT IN THE EXPECTED FORMAT"
    Thanks so much for taking the time to try to help me
    Nela

  • Errors opening Excel 2007 spreadsheets in Excel 2010

    When I try to open spreadsheets created in Excel 2007 with Excel 2010, I get the error:  "Excel found unreadable contenct in 'file name'.  Do you want to recover the contents of this workbook?  If you trust the source of this workbook, click
    Yes".  Then a Repairs dialog box comes up saying:  "Excel completed file level validation and repair. Some parts of this workbook may have been repaired or discarded.    Removed Part: Print options."  File then opens fine. 
    We receive Excel 2007 from various sources.  One of my problem is that we are just starting to migrate people to Windows 7 and Office 2010, with most people still on Office XP.  The file format converter for Excel 2002/2003 does not work with these
    Excel 2007 files.  The other problem is that we have macros that are used to open Excel files and import data into other Excel files.  Pretty hard to modify these macros to allow for some files that are going to pop up this error, and others that
    do not.
    What is causing this problem, and what fix is available?  We have asked that people save the Excel files in Excel 97-03 format before sending to us, with mixed results. 

    Hi,
    Thank you for using Excel IT Pro Discussions forum. 
    Are you using Office 2010 RTM version? If it is trial version or beta version, I suggest upgrading it to the RTM version.
    First, please check if this KB article helps:
    Error message when you try to open a workbook in Excel 2007: "Excel found unreadable content in Book_Name"
    http://support.microsoft.com/kb/929766
    Note: The steps are for Excel 2007. The steps in Excel 2010 are similar.
    If the problem persists, let’s also check the following settings in Excel 2010.
    ========
    1.      
    In Excel 2010, click File > Options > Trust Center > File block settings.
    2.      
    Check the checkboxes before:
    Excel 2007 and later Wordbooks and Templates
    Excel 2007 and later Macro-Enabled Workbooks and Templates
    Excel 2007 and later Add-in Files
    Excel 2007 and later Binary Workbooks
    Then, try to open the Excel 2007 file in Excel 2010 and check the results again.
    Best Regards,
    Sally Tang
    TechNet Subscriber Support
    in forum
    If you have any feedback on our support, please contact
    [email protected]  

  • SQL 2008 R2 Export to Excel 2007

    I want to export data using the Import and Export Utility to Excel 2007.  
    I choose a destination of Microsoft Excel and choose an existing (empty) Excel 2007 .xlsx file. 
    The following errors result.  A new worksheet is created in the Excel file with the name of the table and with column headings but no data.  If I repeat the export choosing the now existing Excel file it works fine.
    How can I make it work the first time?
    - Pre-execute (Error)
    Messages
    Error 0xc0202009: Data Flow Task 1: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E21.  (SQL Server Import and Export
    Wizard)  
    Error 0xc0202025: Data Flow Task 1: Cannot create an OLE DB accessor. Verify that the column metadata is valid.  (SQL Server Import and Export Wizard)  
    Error 0xc004701a: Data Flow Task 1: component "Destination - RELEASE_LOG" (58) failed the pre-execute phase and returned error code 0xC0202025.  (SQL
    Server Import and Export Wizard)  
    - Executing (Warning)
    Messages
    Warning: Preparation SQL Task 1: Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done. (SQL Server Import
    and Export Wizard)  
    Warning: Preparation SQL Task 1: Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done. (SQL Server Import
    and Export Wizard)  

    Thanks for your reply.
    I think the datatypes are correct.  
    This is the sql for the SQL 2008 table:
    CREATE TABLE [dbo].[q_table](
    [Q_No] [nvarchar](40) NOT NULL,
    [data1] [nvarchar](255) NULL,
    [data2] [nvarchar](255) NULL
    ) ON [PRIMARY]
    This is the sql for the Excel table create.
    CREATE TABLE `q_table` (
    `Q_No` LongText,
    `data1` LongText,
    `data2` LongText
    There is only one row in the table:
    Q_No data1
    data2
    2 444 aaa
    The same export works fine if I select .xls (Excel 1997-2003).  This error happens with every table I try to export to .xlsx.  I created this table and export to try to debug the issue.
    We do this sort of export all the time and I want to use 2007 becuase we often have more than 65K rows to export.  Now we export to Access and then export to Excel but it adds time to the job.

  • Excel connections failing after the move from XP to Win7 and from Excel 2007 to 2010

    We recently upgraded to Win7 from XP, and from Office 2007 to 2010.  Some of my packages that use CSV or Excel as sources are failing.  Has anyone else experienced this and, if so, is there a quick fix?
    I tried saving the excel source files to 2007 format, but that really doesn't seem to be an option since both 2007 and 2010 ostensibly use the same extension, viz., .xslx.
    Thanks in advance for any assistance.  I'd hate to have to rewrite some of these packages if there's an easy fix.
    We're running SQL 2008 R2 and I'm using BIDS 2008
    Christian Bahnsen

    Here's the error messages on the package that prompted this post:
    TITLE: Package Validation Error
    Package Validation Error
    ADDITIONAL INFORMATION:
    Error at Data Flow Task [Excel Source [1]]: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E37.
    Error at Data Flow Task [Excel Source [1]]: Opening a rowset for "Summary$" failed. Check that the object exists in the database.
    Error at Data Flow Task [SSIS.Pipeline]: "component "Excel Source" (1)" failed validation and returned validation status "VS_ISBROKEN".
    Error at Data Flow Task [SSIS.Pipeline]: One or more component failed validation.
    Error at Data Flow Task: There were errors during task validation.
     (Microsoft.DataTransformationServices.VsIntegration)
    BUTTONS:
    OK

Maybe you are looking for