Quantcast
Viewing all 11829 articles
Browse latest View live

When adding a row in a defined table, my formula does not replicate down to the new row. Why?

I'm using Excel 2016

I have a worksheet where I have a defined table and when a new row is added by tabbing from the last column/row, the formula for one of the columns does not replicate itself down to the new row.

Does anyone know why and how can I fix this?

The formula in the first row of the table is =z3-AA3. This is because it is the first row. The 'Running Profit' column then should be, after the first row in the table, =AB3+Z4-AA4. This is the formula that should be carried down for all new rows added no matter how the row was added.

Does anyone know how I can do this when the user wants to add a new row to the table?

Also, as you can see in the attached image, formulas in other columns display the error notification when new rows are added. Why does it do this and how can I prevent this when a row is added.

Image may be NSFW.
Clik here to view.


Keith Aul


!@Test thread for asimov cll - Technet

!@Test thread for asimov cll - Technet

PowerView in Excel 2013 without data

If we don't care about data refreshes, is there a way to build a Pivot table and/or Power View report off of Power Powerpivot WITHOUT having the PowerView model available to the users of the reports. 

SharePoint is not an option, so we can't use the export to PowerPoint with interactive reports like PowerView can do in SharePoint.

We would like Slicers and Filters to work, but we would prefer to not have them be able to change which fields are included in the reports.  Basically, a semi-read-only PivotTable or PowerPivot report.


Ann Weber

Can't open .xls files with Excel 2010

User has Office 2010 on a Windows 7 machine. He has no issues with any other program except Excel. He can not open .XLS files. When he tries, every other Office component open crashes (word, outlook, et al). I tested this by creating a workbook and saving it as book1.xls. No problem. I try to open it, it crashed Office. Thoughts?

Can't open .xls file across all versions of Excel

Hello,

Since early last week, our organization has run into problems opening .xls files with Excel. The reports are generated on a VM using Office 2007 and gets emailed out each day. The scheduler is set to save these reports as .xls files, and now we are seeing users unable to open these files across all versions of excel 07-2016. Tested the reports on both windows 7 and 10, and continue to see the same error messages:"The file format and extension of 'MTD Parts Sales Summary All Locations.xls' don't match. The file could be corrupted or unsafe. Unless you trust its source, don't open it. Do you want to open it anyway?" Yes - No - Help

We are able to convert these files (to .xlsx) once the file is saved to our desktops and then open it without any error messages that way, but even using Outlook online, we are unable to preview these reports or open them. All of this seemed to start occurring a week ago today.

XLS file will not open in Excel 2016, only gray view

Hi, I downloaded a XLS (not XLSX) file from an internet application.  I have Excel 2016 and am on Windows 7.  If I open the file in notepad, I see that it has HTML tags/content.  however, when I double click on the file, it opens up the Excel app but there is no worksheet...just a gray background, no visual error.

I've looked online and i've exhausted most of the known options, short of reinstalling Excel or manually changing the registry settings.

I've done the following already:
- Unchecked "Ignore other applications that use Dynamic Data Exchange (DDE) check box"
- I've associated all files types to Excel in Control Panel
- I've run the repair (both quick and online) function in Control Panel
- I can't disable the following option because of security concerns: Excel > File > Options > Trust Center > Trust Center Settings > Protected View > “Enable Protected View for files originating from the Internet”.  If I did disable this, the file will open after I okay the warning message.
- Checked "Disable hardware graphics acceleration" in Excel > Advanced
- Opened the file from within Excel but same blank result.

I have some colleagues who are on Excel 2013 that are able to open the file without issue, but some others could not either.

Any ideas of where else to look?

thanks,
mike







Text to Time - Special Formatting & Power BI

I have a time that was converted to text in an original Excel file. 

I need to upload the converted text to Power BI but when I do this, I'm missing digits in the time.  Ultimately, I would like to reconvert the text back to it's proper 24 hour time format so it can be uploaded correctly.  (Note.. I do not have access to the original file the conversion came from.)

The times are currently in the following custom (converted) format:  hh.mm

Example below: 

15.06

12.08

16.20

16.25

09.10

These times are military format - example:  15:06 = 3:06 PM, 12.08 = 12:08 PM, 16:20 = 4:20 PM)

I'd like to keep the times in military format.

When uploading to Power BI (Desktop Version) - it drops the last digit (or 1st digit) and converts the time to number format.

Power BI will format the above as:

5.06

12.08

16.2

16.25

9.10

...and ultimately not recognizing the data as a time, but as a number.

Does anyone have a solution to retrain the time format of  "hh.mm" within Power BI?

Thanks.

J

How to apply a new template to all pre-existing workbooks?

Hi all.  I have created an Excel 2013 template (.xltx file) with some desired customization.  I understand how to use this template for all new files.  But is there some way I can apply this template in-bulk to all my pre-existing Excel workbooks?

Thanks.


Excel - worksheet freeze and high cpu usage

Hi. I have Office 365 installed and sometimes worksheets and ribbon get freezed. The weird thing is that workbook works, because I can close it. When it happens the Excel process makes a huge cpu usage. Any idea why this is happening?

Thanks

Writing SQL code into a macro

Good afternoon, all.

We have several Excel tools that we use daily here at work.  Most of them were built by someone who has not worked here in years.  I have been tasked with learning the in's and out's of VBA and Excel to help maintain and modify these tools as needed.  Out of necessity, my approach has been to work until I hit a snag, then study my way out of it.

Most of these tools draw data from the "sourcefile" listed below.  If the workbook is drawing info on one single job, it goes to the Excel files generated based on the data in the .DBC file.  If, however, the workbook is dealing with several jobs, it uses the ODBC and SQL format illustrated in the example below.

I have tried to modify this code as well as create my own.  I have had some occasional dumb luck and stumbled across something that "works"(?) but I can hardly claim to understand it.  I have been able to replicate this result by using the Get External Data - From Other Sources - From MS Query, but what I wind up with is a table on an additional sheet that I must then copy and paste into my target worksheet.

My question is this....is there something that helped him write this code in the macro, itself?  Is there a way I can find this kind of "source code" for the queries I have generated using MS Query?  Do I just need to learn the language of SQL in order to code this in my macros?  I know, that's three questions, but really just one, ultimately...how do I go from the Query wizard to the embedded code shown below?

Thanks for your time and attention.

sourcefile = "E:\jobwin\DATA1.DBC"
connstring = _
    "ODBC;Driver={Microsoft Visual FoxPro Driver};SourceDB=" & sourcefile & ";SourceType=DBC;Exclusive=No;BackgroundFetch=Yes;Collate=Machine;Null=Yes;Deleted=Yes;"

    Set Target = Range("A5")
    jobnumber = Target.Value
    With Target.Offset(0, 0)
           
            sqlstring01 = "SELECT jobent.jobno, jobent.ponum, jobent.lineitem, jobent.partno, space(0) as 'Notes', purchase.purnumb, purchase.due_date as 'Due Date from Vendor', purchase.vendno as 'location', "
            sqlstring02 = "jobent.custno, jobent.qty - jobent.qtyship as 'qty dif', jobent.descrip, jobent.qtyship, jobent.duedate, jobent.certcomp, "
            sqlstring03 = "jobent.sourceapp, jobent.dteship, space(0) as 'Main Job', jobent.rem1 as 'mainjob source', "
            sqlstring04 = "space(0) as 'adjusted due date', jobent.qty, "
            sqlstring05 = "purchase.ordqty as 'vendor ordqty', purchase.qtylog as 'vendor qty rcv', "
            sqlstring06 = "space(0) as 'repeat vendor PO', jobent.duedate < DATE() as 'late?' "
            sqlstring07 = "from purchase right join jobent "
            sqlstring08 = "on (jobent.jobno = purchase.jobno and jobent.qtyship < jobent.qty and purchase.qtylog < purchase.ordqty and purchase.pdate>{d '1900-01-01'}) "
            sqlstring09 = "where (jobent.qtyship < jobent.qty and jobent.duedate < {d '9999-01-01'}) "
            sqlstring10 = "order by jobent.duedate, jobent.jobno, purchase.due_date, purchase.purnumb"
        sqlstring = sqlstring01 & sqlstring02 & sqlstring03 & sqlstring04 & sqlstring05 & sqlstring06 & sqlstring07 & sqlstring08 & sqlstring09 & sqlstring10
        With ActiveSheet.QueryTables.Add(Connection:=connstring, _
                Destination:=Target.Offset(0, 0), Sql:=sqlstring)
            .RefreshStyle = xlInsertDeleteCells
            .FieldNames = False
            .AdjustColumnWidth = False
            .Refresh BackgroundQuery:=False
            .SaveData = True
            .Delete
        End With
    End With


Excel 2013 "cannot use object linking and embedding error"

Hi

We are using excel export as pdf functionality and have the following DCOM configuration

1.start->run and type 'DCOMCNFG'

2: Open 'DCOM Config' and locate 'Microsoft Excel Application'

3: Set its identity to 'This User' and give specific service user

On opening excel  we are getting  "cannot use object linking and embedding error" and the microsoft sugestions tells to change to launching user which is not an option for us,Is there any other suggestion to fix this issue by keeping Dcom configuration with'This User'

Thanks in advance

Pradeep

Not getting warning if I open a shared excel more than once

Hello,

I am facing a problem in MS Office shared excel in Windows 10.

I am using Office 2010.

In my user login if I open a single shared excel in multiple times then the multiple instances of excel will be opened without any warnings. This has caused the loss of data today.

In short I want to get a message when I open a single excel more than once as shown below,

Image may be NSFW.
Clik here to view.

How to do this ?Please help  me.

Leave my data alone!

Hi,

I have searched nearly anywhere for a solution to this Excel application problem (hope you can help).

I have an Excel based matrix of 40 x 52 celles. Each Cell is at some point in time set to a calculated number, that MUST NOT be modified, once it has been saved in the cell. The value for a cell is calculated from a keyed-in value.

Here comes the problem:

There are a number of possible calculations. The one calculation to be used at Key-in time is determined by "Current State", which is a state value in a cell in the sheet but outside the matrix. The number in any cell in the matrix is a value calculated by the "current calculation" that was active when its value was entered.

(i.e. I type the value for a cell. It is modified by "currently active calculation"(determined by the state value) and saved in the cell (and must not be recalculated)).

At some point in time the state value changes (determined by external events) and that selects another calculation to be used. The values that I enter, must now be modified by a different calculation (no problem in that), but the ongoing recalculation of the spreadsheet must leave the earlier calculated cells unchanged.

How can I make a calculation take place when a value is keyed in, but protect the cell from modification by recaltulation.

Lars

Live data feed into Excel

Hello,

I have a data feed coming into my computer via a tcp/ip address - 10.0.0.130

I would like to display this data live in an Excel spreadsheet and I don't know how to do it. So I'm looking for some guidance as to where to look & research 

Thanks in advance

Failure sorting pivot tables

I have a Excel 2013 sheet whit numeric and alphabetic fields: Number, Name, and another ones...

#     /  Name / xx1 / xx2 / xxx3 ...
123  / SMITH / 1...
124  / ANDERSON / 33....
125 / LU / 44...
126 / BOOTES / 22....
120 / YANG / 111...

An pivot table sorted by Number / Name. Everything is ok...
120 / YANG / 111...
123 / SMITH / 1...
124 / ANDERSON / 33....
125 / LU / 44...
126 / BOOTES / 22....

I drag the field name to the left, and ask for it to be sorted. Then, "LU" is placed on first line.

LU / 125 / ...
ANDERSON / 124 / ....
BOOTES / 126 / ....
SMITH / 123 / 1...
YANG / 120 / ...

It only fails on Excel 2013, on Excel 2010 is ok.
If I change "LU"  for "LU   " (three TRAILING spaces), it's ok...
It seems that names less than 3 characters does not are sorted...

Thanks.


Pivot chart data changing when using previously saved template

When I use a saved chart template on a pivot chart, it reverts all data to a different chart.  It will not hold the same data as the pivot table that I first created the chart from.  Anyone have advice?  Thanks

 

More info:  The chart is changing everything.  It is not even a chart that is now linked with this data.  I do have multiple pivot tables, so I could have multiple charts.

Excel "Remove Duplicates" strange behaviour

Hi All!

I've found Excel 2010's "Remove Duplicates" function to work a strange way...
For example, if I have a column with some duplicated entries and then I run "Data \ Remove Duplicates" function on this column, it removes duplicates successfully. But if I select this column again and run "Remove Duplicates" function again, it says, it has found more other duplicates and removed them, however there were no duplicates, because those were removed in the first round.

I suspect, the second round somehow counts earlier deleted duplicated cells as "empty" and duplicated cells, but I don't know how get rid of these hidden duplicates... Please advise.



Get & Transform - initialization of datasource failed

Hello,

when I use Get & Transform in Excel 2016 Standard SPLA, I´m able to create query, see the preview, bud when I'm finishing the process and would like to get the data to cells, Excel show me error message "initialization of data source failed, ..." - I've tried more sources from limited commands in Get & Transform in Standard suite including simple link to Excel file in same folder... everything ends with error... in cells is shown only

When I do all this in Excel 2016 Professional Plus, everything is OK, no errors, result 250000 rows inserted in cells rather quickly...

I'm using Windows Server 2012 R2 std 64b CZE, normal file system...

Is Get & Transform generally usable in Standard version? What are conditions for use and what can be cause of initialization error?

Thank for help

Petr

Recording Macro incomplete

I am recording a simple macro, and amazingly, the last intruction is always missing (ActiveSheet.Paste). When recording that macro in a new sheet, everything is ok.

Any clue ?


Marcel Saucier (An old DOS guy since 1983...)

DAX CALCULATE with Countrows() = 3 parameter)

Hi,

We are trying to construct a Measure with DAX that counts the rows where the count of the related rows in another table equals 3.

We came this far:

CALCULATE(COUNTROWS('mastertable'),FILTER(RELATEDTABLE(relatedtablename),COUNTROWS(relatedtablename) = 3))

however this does not aggregate nicely. what are we doing wrong?

Viewing all 11829 articles
Browse latest View live


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