Quantcast
Channel: Excel IT Pro Discussions forum
Viewing all 11829 articles
Browse latest View live

Excel 2013

$
0
0

Hi,

Our users are using Excel 2013, on Windows 7 and IE11. We are unable to open the spreadsheet file generated from zipped report. The error:

Excel cannot open the file "....xls" because the file format or file extension is not valid. Verify that the file has not been corrupted and that the file extension mahces the format of the file.

We cannot open or save the unzipped spreadsheet file.

The file is not corrupted (has tried repairing).

Please shed some lights on how to go about resolution this ...?

thank you


Best Regards,



How to Programmatically Determine the Cell in Which a Checkbox Resides and Checkbox Name

$
0
0

Excel 2013.  Form Control Checkbox.

I have inserted form control checkboxes in numerous cells.  I have created a generic macro that fires when any of them are checked (or unchecked).  I have some questions.

1.  How can I programmatically determine the cell in which the checkbox that was clicked resides?

2.  How can I programmatically determine the control name of the checkbox that was clicked?

Thanks for any help.

Conditional formatting for approaching deadlines

$
0
0
NameCase # Document Issue Date

DEADLINE:

Date Document Due (9 calendar days after issue)

48-hour alert before deadline (Count weekdays only)Result
Patty Page000012309/01/2016format needed to add 9 days to issue day and when deadline arrives and/or is passed, cell turns redFormat needed to alert when 48 hours prior to deadline date - this date will be counted in weekdays only and the cell should turn yellowReturned and filed.


  1. I have been trying feverishly to create a conditional format formula for an approaching deadline, as well as a deadline which has been met and/or expired. I have utilized many different formulas, but all to no avail, as I cannot accomplish what I have set out to do with the formulas:


    1. Format an alert, in the form of a red-colored cell for the deadline that has expired (and/or is past due)- when the date arrives (e.g., say the deadline is 9/3/2016.. on that day, I want the cell to turn red),


    2. Format an alert in the form of an golden-colored cell for 48 hours prior to the deadline (I want the cell to turn gold when the 48 hours before the deadline date arrives, using only weekdays),


    3. Format the deadline in the form of adding 9 days to the date entered into another cell, & the second deadline alert for 48 hours (weekdays only) before the final deadline (which is the 9 days after the initial set date)


    I came across this formula: =IF(A3<(TODAY()+5),”ALERT: DUE DATE”,””)
    But I'll be darned that it doesn't compute, and I get an error when I try to use it (using my specific cell info, of course)


    Can anyone please help me? This is really and truly, driving me batty man! I have been working on this project for 4 days now!


    -Crystal

Does a MERGE in Power Query (Get & Transform) always result in a new query?

$
0
0

I am used to dealing with tables and queries in Access, so some shift in my knowledge is necessary.

  • I have a 350K row query in Power Query, Excel 2016
  • I need to essentially do a VLOOKUP of one of the column to another table with just 20 values in it and return ALL rows in the main query, with a column that shows what matches so I can quickly filter/unfilter as needed.

In Access, I'd just do a left join and add the column from the 20 record table to the query and could easily filter on nulls or values.

In Excel, it seems the only way to do this is the "MERGE" generates a 3rd query. This is another 350,000 record database. This 3rd query is correct, but my Excel file effectively doubles in size.

Is there no way to have this matched column added to the first query of 350K records and eliminate the need for the massive data requirements the 3rd query adds?

I could have, of course, done the vlookup in the first table much faster and with much less data overhead, but a VLookup in a 350,000 record database makes filtering unbearable. System totally bogs down.


Ed

Pivot Table arrangements.

$
0
0

Hi everybody,

I wasn't able to find the answer. I'm sorry, but maybe you can help.

This is what I'm trying to do:

I have a Sharepoint log file, where I tick check boxes and enter data. To make it simple, let's compare it to a market and fruits:

I would have the following values:

ID, automatically generated

Customer, entered manually
Product: Bananas, Apples, Oranges      important here is, these are multiple checkboxes because a customer might buy more than one product

Country, where is the customer from, only one value per customer

While I can view this data in the Sharepoint file quite good, once I export it to Excel I struggle. 

In Sharepoint I can filter for Bananas, and it will show me all customers who bought a banana independently if they bought something else too.

Once exported to Excel I only get customers that bought only Bananas, the others will be listed as Banana#;Apples or Banana#;Oranges or even Banana#;Apples#;Oranges.

Now I want to make a table with the countries and the Products, but obviously I only want 3 Product columns then instead of all combinations.

It would look something like this:

ID  Country   Product

1USBanana

2USApple

3UKBanana#;Apple

4UKBanana#;Orange

If I now try to make some nice looking tables to use for visualizing data, I can filter for countries:

US would look like 

Banana 1, Apple 1

However, UK would look like
Banana#;Apple 1
Banana#;Orange 1 

but I want 
Banana 2
Apple 1
Orange 1

I tried to work around that in the logging file, by changing the question "Product" from multiple check boxes into many questions:

"Banana yes/no"
"Apple yes/no"
"Oranges yes/no"

With that I can have a look at the products, to see which countries are most interested in them. 
However, if I select more than one product in the labels, it just refines the data by "what ID fulfills Bananas and Apples" or it gives me a TRUE/FALSE table, which isn't really helpfull either. 

Any idea guys? 

Thanks a lot!

Excel File opening issue giving Fail Fast Exception/Excel Stop Working

$
0
0

Hello,

When i try to open excel file using excel Interop in C# development environment.

It gives below type of error for client files,

1. Microsoft Excel has stopped working

2. Excel.EXE - Fail Fast Exception

we verified with some other software having support to open excel file, in that software they able to open excel file in their viewer.

So my question is,

1) how we can open this kind of files successfully ? (note : we are having window 7 machine and office 32 bit version)

2) How to bypass this kind of notification while opening file from C#.code ( we have tried DisplayAler and Notify options but its not working for this kind of files)

Please suggest.


Thanks

Quick Explore with Pivot Table in Excel 2016

$
0
0

Hi guys.

I've found very useful tutorial about Quick Explore with PivotTable in Excel 2013 at http://www.excel-bytes.com/how-to-use-quick-explore-with-pivottables-in-excel/

When I download example from that webpage and tried in my Excel 2016 (Office 365 University) I don't see any Quick Explore icon. Where can I find this feature please?

Regards

Jan


Index Values

$
0
0

Hello,
please I need your support at an inquiry which somehow complicated,
en recap, as shown, this is a shift schedule with breaks for employees, e.g: the first agent

Red color is the 1st Break start: 11:15, end 11:30 >> Duration "0:15:00"
Yellow color is the Lunch Break start: 12:30, end: 13:00 >> Duration "0:30:00"
2nd Red color is the last Break start: 15:00, end 15:15 >> Duration "0:15:00"

Note: the colors represent the scheduled breaks, but the filling values are the actual which agent applied per minutes.

1st Break start: 11:16, end 11:30
Lunch Break start: 12:32, end: 13:02
2nd Red color is the last Break start: 15:01, end 15:15

my request is how can I export that actual time not manually, I see there is something must figure out, "the values didn't match permanently the colors" e.g: the lunch for 5th agent, as he scheduled 12:30 till 13:00, but the action was taken at 13:13 till 13:43.

sometimes the value comes after the colored Quarter and sometime before.

the workbook

gratefully,


Trying to close Excel

$
0
0
I was doing a data sort and apparently ended up with a formula that doesn't work. I can't erase the info in the cell nor can I close Excel.

Excel2016 Data Queries from Access: re-use and not showing parameterized queries

$
0
0

(environment: Excel/Access 2016, 32-bit, via Off365 Home on Win10Anniv Pro x64)

I'm trying to use Excel Data Query to get data from some complex queries in an Access database into my Excel worksheet. This works fine for tables in the Access database and for queries if they have no associated parameters. But I've some up with two questions:

1) Apparently, I find in Google re. Excel '07 or so, there used to be a way in MS Query to save the defined query as a .dqy (IIRC that was the extension) file and then reuse it in other Worksheets. I can't find a similar way in Excel '16's Query Editor to save/re-use an existing Data Query definition that doesn't involve opening an Excel workbook that has the query you want and doing some copy/paste. This is an annoying problem but not a deal-breaker for my use case. Is there a way I'm not finding to save and re-use a defined Data Query in Access 2016?

2) Apparently, I find in Google re. Excel '07 or so, there used to be a way to supply parameters to the Access query if that Access saved query was parameterized. These values could, apparently, come from a worksheet range reference. I can't find a way to do that in Excel '16. When creating a new Excel Data Query from Access, the parameterized Access-side queries are not even shown in the list of "table and view tables" in the second step for creating a Data Query. This is a deal-breaker for my use case. Is there really no way to use Excel '16 Data Query to access an Access parameterized query and pass it the parameters?

Thanks in advance for any help!


How do i add a row of labels to a listbox in Excel VBA

$
0
0

before I add data to a listbox that sits on a userform I would like to add a row of labels(col headings)?

I'using the following method to populate the list box:

ListBox1.List = Worksheets("Sheet1").ListObjects("TheTable").DataBodyRange.Value

The above code works. However it doesn't add the column headings

How can I add column headings to a list box if I use the above method of adding all the data to the listbox?


Keith Aul

I'm getting a run time error of 1004, Application defined or object defined error. Why?

$
0
0

I'm getting a run time error of 1004, Application defined object defined error on the following line of code:

Set rSource = Worksheets("Sheet Name").Range(Cells(2, 1), Cells(LastRow, LastCol))

rSource is defined as a range. Both LastRow and LastCol are integers

Does anyone know what the problem is?


Keith Aul

Clicking the Power View Button in Excel 2016 does nothing....

$
0
0

Hi all,

I'm hoping someone can help me, I have followed all of the instructions available online to add the Power View button to my Excel 365, but when I try to click it nothing happens. 

I also tried purchasing 365 ProPlus and re-downloaded everything, but that hasn't helped.

Any advice would be much appreciated!

:-)

Resolved: Quick Explore with Pivot Table in Excel 2016

$
0
0

Hi guys.

I've found very useful tutorial about Quick Explore with PivotTable in Excel 2013 at http://www.excel-bytes.com/how-to-use-quick-explore-with-pivottables-in-excel/

When I download example from that webpage and tried in my Excel 2016 (Office 365 University) I don't see any Quick Explore icon. Where can I find this feature please?

Regards

Jan



Skype for Business not starting on windows 7

$
0
0

Dear Partner,

I have Windows 7 64-bit and Office 2010 we upgrade Lync 2013 to Skype for Business Enterprise 2016 and it's installed successfully when click icon it's not starting and disappear.

I trying to uninstall Office 2010 and Lync 2013 and install Skype for Business Enterprise 2016 and same issue I have it.

Regards,

 Magdy


Lost entire worksheet - now grey window

$
0
0

While editing a worksheet called Walk Index.xlsm (one of two in the Excel 365 workbook) I suddenly found myself looking at this window:

Not sure what step it was that caused it. Tried lots of things, including repeated Undos, Unhiding everything I could, etc. Also found the folder containing autosaves but not only did I have no success opening a recent backup but all the backups vanished! Bizarre...

Any suggestions would be much appreciated please, before I use yesterday's backup and start redoing today's editing.

--

Terry, East Grinstead, UK

Excel 2016 Pivot Table generates top 6 sales reps instead of top 5 sales reps

$
0
0

I have an Excel 2016 Pivot Table for which I have "Filter" > "Top 10" and actually selected the top 5 sales representatives. However, the result gives me 6 (SIX) topo sellers instead of just 5!!!!.

Not only that, I added a Pivot Chart and that chart also shows 6 top sellers (Most likely it’s because it follows the results of the filtering action which is wrong)

Note: Those top 5 sales representatives conform the source of information for a Mail Merge operation in Word, which currently is rendering excessive information, 6 people instead of 5.

Is there any way to make the pivot table truly gives me just the top 10 sellers?

Your wisdom and feedback will be highly appreciated.

TempDavid


How to link result from an iqy to powerpivot

$
0
0
I can open web query (iqy) in excel and create pivot table, but I have error (The selected range is invalid. Select a valid range. A table cannot overlap a range that contains a PivotTable report, query results, protected cells or another table.) linking the result to powerpivot.

I'm using Excel 2010 version, would appreciate for suggestion to fix.

why can i change data in a pivot table cell? Refresh does not restore it to the source value.

$
0
0
simple question ... using Excel office 2010 in Windows 10

Joseph DiSabato


Excel-XML schema Parent/child or List of List issue.

$
0
0

Hello

I have got an xml file which has multiple tags with same names. But when I try to convert it to xml schema, it doesn’t allow multiple elements with same name. There are ways around  for example maxOccur=unbound for element name called “Name”, but that won’t help me as I need to map it to various columns [For Primary name, Previous name and Maiden name] which excel doesn’t allow it.

This is XML file, which will be eventually uploaded on to website and it can’t have different tags [In this case “Name” and it also have “address” and “telephone”]

Here is the XML file -[Has duplicate tag <Name>]

<Names>
                    <Name>
                        <FirstGivenName>Test</FirstGivenName>
                        <OtherGivenNames>vy</OtherGivenNames>
                        <FamilyName>sample</FamilyName>
                        <SingleNameOnly>0</SingleNameOnly>
                        <Type>PRIM</Type>
                    </Name>
                    <Name>
                        <FirstGivenName>Areasbc</FirstGivenName>
                        <OtherGivenNames>vty</OtherGivenNames>
                        <FamilyName>efesssf</FamilyName>
                        <SingleNameOnly>0</SingleNameOnly>
                        <Type>PREVS</Type>
                    </Name>    
                    <Name>
                        <FirstGivenName>set</FirstGivenName>
                        <OtherGivenNames>ppty</OtherGivenNames>
                        <FamilyName>xuuu</FamilyName>
                        <SingleNameOnly>false</SingleNameOnly>
                        <Type>MAIDN</Type>
                    </Name>
                </Names>

Here is the XSD schema, but it won’t allow duplicate names I.e name="Name"

<xsd:element minOccurs="0" nillable="true" name="Names" form="unqualified">
                                                       <xsd:complexType>
                                                           <xsd:sequence minOccurs="0">
                                                               <xsd:element minOccurs="0" nillable="true"name="Name" form="unqualified">
                                                                   <xsd:complexType>
                                                                       <xsd:sequence minOccurs="0">
                                                                           <xsd:element minOccurs="0" nillable="true" type="xsd:string" name="FirstGivenName" form="unqualified"/>
                                                                           <xsd:element minOccurs="0" nillable="true" type="xsd:string" name="OtherGivenNames" form="unqualified"/>
                                                                           <xsd:element minOccurs="0" nillable="true" type="xsd:string" name="FamilyName" form="unqualified"/>
                                                                           <xsd:element minOccurs="0" nillable="true" type="xsd:integer" name="SingleNameOnly" form="unqualified"/>
                                                                           <xsd:element minOccurs="0" nillable="true" type="xsd:string" name="Type" form="unqualified"/>
                                                                       </xsd:sequence>
                                                                   </xsd:complexType>
                                                               </xsd:element>
                                                               <xsd:element minOccurs="0" nillable="true"name="Name" form="unqualified">
                                                                   <xsd:complexType>
                                                                       <xsd:sequence minOccurs="0">
                                                                           <xsd:element minOccurs="0" nillable="true" type="xsd:string" name="FirstGivenName" form="unqualified"/>
                                                                           <xsd:element minOccurs="0" nillable="true" type="xsd:string" name="OtherGivenNames" form="unqualified"/>
                                                                           <xsd:element minOccurs="0" nillable="true" type="xsd:string" name="FamilyName" form="unqualified"/>
                                                                           <xsd:element minOccurs="0" nillable="true" type="xsd:integer" name="SingleNameOnly" form="unqualified"/>
                                                                           <xsd:element minOccurs="0" nillable="true" type="xsd:string" name="Type" form="unqualified"/>
                                                                       </xsd:sequence>
                                                                   </xsd:complexType>
                                                               </xsd:element>
                                                               <xsd:element minOccurs="0" nillable="true"name="Name" form="unqualified">
                                                                   <xsd:complexType>
                                                                       <xsd:sequence minOccurs="0">
                                                                           <xsd:element minOccurs="0" nillable="true" type="xsd:string" name="FirstGivenName" form="unqualified"/>
                                                                           <xsd:element minOccurs="0" nillable="true" type="xsd:string" name="OtherGivenNames" form="unqualified"/>
                                                                           <xsd:element minOccurs="0" nillable="true" type="xsd:string" name="FamilyName" form="unqualified"/>
                                                                           <xsd:element minOccurs="0" nillable="true" type="xsd:boolean" name="SingleNameOnly" form="unqualified"/>
                                                                           <xsd:element minOccurs="0" nillable="true" type="xsd:string" name="Type" form="unqualified"/>
                                                                       </xsd:sequence>
                                                                   </xsd:complexType>
                                                               </xsd:element>
                                                           </xsd:sequence>
                                                       </xsd:complexType>
                                                    </xsd:element>

It works if there is, different element names(like Name1,Name 2 etc) but the targeted website doesn’t recognize the name tags

I am not an expert, and did try to look up on google, but couldn’t find any solution. Hoping to have some brilliant minds to crack this code.

 Thanks in adv


Viewing all 11829 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>