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

Linear fit while fixing slope

$
0
0

Hello,

Lets say I have two columns

x    y
---------
2    1
4    2
3    3
6    4
7.5 5
10  6
5    3
4.5 3.2
1   2.2

I want to fit the two columns with a line (linear regression) and find the intercept of the line if the slope is fixed to 0.65 .

How can I fix the slope to this value and carry out the fit?

Thanks


Link/Auto Update Excel/Access/Word/PPT

$
0
0

Hi All,

I have a presentation/memo that is typically done in Word or Powerpoint that contains an overview of a financial model, which is prepared in Excel. I spend countless hours updating numbers in the non-Excel apps, once changes to the model are made. I have to imagine there is some way to automate this. I had two thoughts but have not figured out how to execute. I have thought about using Access and a Word form, but there is typically a lot of text that is constantly modified and a form wouldn't work.

I need the ability to sync a chart object and data fields WITHOUT linking. These files go to and from clients and linking is not possible.

All the fields could be named ranges for ease of coding. An example of one sentence with fields I would like to pull in brackets ( "[ ]" ):

The project requires [$XXmm] initial capital outlay, with an additional [$XXmm] outlay spread evenly over the first [X] years. Incremental income is expected to be [$Xmm] in year [X], increasing by [X%] per year into perpetuity.

Thanks in advance!

John

Dates on Pivot Chart x-axis won't format

$
0
0

I have Excel 2016 through Office 365 Business.  I have many workbooks that I load data into PowerPivot and then create dynamic PowerPivot charts that can be updated on the back end through the PowerPivot connections.

My problem is that when I create Pivot Charts with the date as the x-axis, I cannot change the format of the date values from M/D/YYYY.  I have tried formatting them first in PowerPivot (which changes them appropriately in the data model), changing them in the Format Axis pane on the far right (it will allow me to change the format to another date format, but the changes don't take effect on the displayed chart), and I've tried to change the format using the variable field settings in the Pivot Table field list pane (but my problem there is that the "format" button in the bottom left corner of the Field Settings window doesn't exist in my window like it does for all the other number values).

Why I can't I format the dates???????

Error When Refreshing PowerQuery On Other Computer in same Network

$
0
0

I have a simple data transformation that I am doing to an Excel file that is saved on a network. The Get and Transform refreshes on my computer, but not on anyone else's computer. I have tried to find a solution online and it seems like the issue is with privacy settings or a bug in PowerQuery itself. In the transformation, I source the file from a csv on the network, promote headers, update the data types for the columns, filter the columns based on a named range I have in the underlying Excel file, and keep the first n number of rows where n is based on a named range I have in my underlying Excel file.

The error that comes up on other computers in the network is:

"Query 'Name of Query' (step 'AutoRemovedColumns1') references other queries or steps, so it may not directly access a data source. Please rebuild this data combination."


Below is the M language in the Advanced Editor I see:


let

Source = Csv.Document(File.Contents(ForecastDirectory),[Delimiter=",", Encoding=1252, QuoteStyle=QuoteStyle.None]),

#"Promoted Headers" = Table.PromoteHeaders(Source, [PromoteAllScalars=true]),

#"Changed Type" = Table.TransformColumnTypes(#"Promoted Headers",{‌{"DATETIME", type datetime}, {"AECO_FIXED_12", Int64.Type}, {"AECO_FIXED_13", Int64.Type}, {"AECO_FIXED_REV", Int64.Type}, {"JCPL_FIXED_12", Int64.Type}, {"JCPL_FIXED_13", Int64.Type}, {"JCPL_FIXED_REV", Int64.Type}, {"APS_FIXED_12", Int64.Type}, {"APS_FIXED_13", Int64.Type}, {"APS_FIXED_REV", Int64.Type}}),

#"Filtered Rows" = Table.SelectRows(#"Changed Type", each Date.Month([DATETIME]) = ScheduleMonth),

#"Kept First Rows" = Table.FirstN(#"Filtered Rows",NumberOfHours)

in

#"Kept First Rows"



What is the reason that this works on my computer but not on others in the network? Is there a way to fix this?

Excel 2016 3D Maps gives message: Your organization's admin has turned off the service required to use this experience

$
0
0

I am using Excel 32bit installed as part of Office Pro Plus 2016.  I have a number of spreadsheets created under MS Office Home and Student from another machine.  One file is .xlsx and another file is .xlsm.  Both give the same message when I try to use the 3D Map feature.

I have Optional Connected Experiences (privacy) turned on.

There are two active add-ins: Microsoft Power Map for Excel and Microsoft Power Pivot for Excel

Running Windows 10 Home edition (up to date)

Suggestions?  Thanks...

Office 365 - Excel - Print Preview not available

$
0
0

Hi,

I am using Office 365.

Recently, I started getting Print Preview Not available error ONLY in Excel. This happens when I use the Quick Aceess toolbar on top left.The following are the scenarios

1. I open a new file which was not recently opened. It will display the print preview. However, if I try to do anything within print preview window - like zoom or scroll - then the preview disappears and I get the error "print preview not available"

2. for some file at times the preview doesn't appear but at times it appears - and then when I try something within preview it stops and gives the above error.

3. When I select printer as "Microsoft print to PDF" - the print preview is displayed. And then it disappears with the error when I try any option within print preview.

I recently accidentally selected this : Page Layout - Theme Colors - Office 2007 - 2010.But when Irealized what I had chosen I changed the selection back to Office. I am not sure if this has caused any issue.

I tried setting my printer back as default printer. For a moment the print preview worked and then the same problem started.

I tried Print Preview in Word - it works fine.

Please help.

rgds

hemant


Image different size/font depending on O/S

$
0
0

I have a powershell script that among the various functions it converts each page of a Excel document to a PNG file.

The script works, but we noticed when running on Windows 10 vs Server 2008 r2 the physical file size, font, etc was different.

It's the same script in both environments, same version of powershell, office 2016 pro plus in both environments.

I'm guessing the exe it's calling is somehow different between the two o/s's, but not 100% what program that is.

Any suggestions?


A+, Network+, Security+, Microsoft MCP, MCDST, MCSE 2003, MCSA 2008

Excel 2010 slow on opening format cells

$
0
0
I have 3 users experiencing problems with Excel 2010.  On the first use of the day, when they try to format a range of cells from the right click, format cells context menu, it takes approximately 8-10 seconds for the menu to open.  After the first time of the day, it opens almost immediately.  I have tried opening Excel in safe mode with no change in behavior.  I have also changed the default printer to the XPS document writer to rule out a driver issue.  The issue isn't specific to one OS either.  One is Win XPSP3, one is Win 7 Enterprise x32 and one is Win 7 Enterprise x64.  The problem is there with all machines.  I can create the problem by rebooting the machine and starting Excel again.  I have watched task manager to ensure that there were adequate hardware resources during this time and there is.  CPU is at about 10-15% usage and over 1G of physical RAM available.  All machines have SP1 installed.

vlookup to compare IP address across mult worksheets?

$
0
0

hello

i was hoping to compare IP address across worksheets and to see if they are missing from my MASTER worksheet.

my master worksheet has the IP  in column E, worksheet 1-3 the IP are in column D. 

I cant get vlookup to work.

thanks

Automatic Pivot Table update problem

$
0
0

Recently our Excel upgraded to 2016 from 2010. Until this upgrade happens, I used to change the data source in one tab and ‘refresh all’. Then automatically all the pivot tables are updated. After upgrade, I have to change the data source for each and every pivot table and refresh the each and every tab separately. Does anybody know how to fix this problem?


Message "We found a problem with some content in filename.xlsm", but recovery removes VBA. How do I solve it?

$
0
0

I am facing this problem with Office 365.

I start Excel and then try to open a .xslm file and receive this message. Should I choose "Yes" then all macros are removed from the Excel file. The message is:Removed Part: /xl/vbaProject.bin part.  (Visual Basic for Applications (VBA))

And the log file content is:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<recoveryLog xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main"><logFileName>error056280_01.xml</logFileName><summary>Errors were detected in file 'E:\TechisaAbacus-v20190904.xlsm'</summary><removedParts><removedPart>Removed Part: /xl/vbaProject.bin part.  (Visual Basic for Applications (VBA))</removedPart></removedParts></recoveryLog>

I tried everything I could find in the web. I reinstalled Excel, applied the latest Office fixes to no avail.

I can open the same .xslm files in another machine in my network (Workgroup). I can even open the across the network with the other machine.

This was not happening last week before I installed a brand new SSD and reinstalled Windows 10 and Office 365 from scratch.

Any suggestion?



Combining sheets from multiple excel files using query in Excel 2016

$
0
0

When I try to combine sheets with <g class="gr_ gr_27 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar only-ins replaceWithoutSep" data-gr-id="27" id="27">same</g> data formats from different files in a folder, I get the following message:

DataFormat.Error: The input couldn't be recognized as a valid Excel document.

Have tried creating simple files and then combine, could not proceed beyond the first step in query editor that yields the binary table view, after which the above error message is displayed. Any help will be appreciated.


PowerPivot for Excel 2016 and office 365

$
0
0

Hi there,

How do we download/enable PowerPivot for Excel 2016 and office 365 in windows 10 devices.

Thanks

PJ

Excel Pivot Table Grouping by Month show Roman Month Numbers

$
0
0

Hello, we have some problem with user experience after upgrade from Excel 2013 to Excel 2016.

We use Pivot Tables with automatic grouping based on moths. It works fine with data.

Excel 2013 groups like this:

2015:
Jan
May
Dec

But Excel 2016 groups like this:

2015:
I
V
XII

So, instead of name of month, it shows roman number of this month. Is there some possibility how to change it? We use Czech display language and Czech regional format.

Thanks.

Excel Memory Problem

$
0
0

I have an excel spreadsheet containing water level data collected on a 15 minute time step over several years.  The data come in pairs with the pair consisting of a time stamp and the value of water level at that time.  I have around 400,000 rows with two columns, column 1 is the date/time, and column 2 is the value.  The file is 38 meg in size and was working fine until yesterday when I added a blank column to the sheet and now it takes 10 to 20 minutes to load and usually locks up after making a few changes to the workbook once it is open.  It used to take 20 to 30 seconds to open.  Sometimes it will even take an hour or two to open.  Even just shifting a blank cell over can then lock the spreadsheet up.  Also, the file is now taking up 53 GB in memory (yes I said GBytes).  Fortunately I have 192 GB of RAM.  I have similar spreadsheets with the same type of data and with double the number of rows that this spreadsheet has, and I don't have any problems with them.  After you try to open the spreadsheet, you can watch the RAM that the program is grabbing slowly rise by going to Task Manager and Processes.  Over that 10 to 20 or 60 minute period while the spreadsheet is trying to open, the ram that Excel is using is slowly climbing up until it gets to around 53 GB.  It is only using 3% CPU during this time

The file has a 2 tabs.  The first tab is a sheet with the data in it, and a plot of the data on the sheet.  The second tab is just a plot of the data with better formatting.  There are no equations or calculations being performed in the spreadsheet.  Its just a pretty simple sheet.  I need to evaluate this data.  Any suggestions on making this file work?  It seems to be some sort of memory management issue that has attached itself to the spreadsheet.  It seems that every time I try to open the spreadsheet, it wants more RAM.  Even if I reboot my computer, the next time I try to open the spreadsheet it seems to want 2 or 3 more GB of RAM than the last time I opened it, even though I have not been able to make any changes to the spreadsheet.

I have tried opening this spreadsheet on other computers in the office, and I get the same results, although Excel does not seem to grab as much RAM on the computers that don't have as much RAM as I have.  It always seems to stop at 90 to 95% of the available RAM, but eventually opens.

I had a similar problem on an Excel spreadsheet 3 or 4 months back.  I was never able to resolve the problem, but one day the problem just disappeared.  I assumed that it must have been fixed by a Windows or Office update.  But now it is back, on a different spreadsheet.

This thing is killing me, my client need to have this data evaluated.  Any help would be appreciated.
System:  
Dual Xeon 6146 processors, 192 GB of RAM
primary Data Drive: 3-2TB Samsung SSD's in RAID 0, 1.8TB available
Backup Drive 4-8TB Seagate Drives in RAID 0, 17TB available
Windows 10, 64bit Build 17763
MS Office 365 16.0.11328.20420, 64 bit



Tom





PowerPivot can't open Data Model due to COM Exception

$
0
0

Hi, Everyone.

Hope you can help me on this. I created a data model in PowerPivot 2013 but our Office has been upgraded to 365. Whenever I go to Manage Data Model, it keeps on saying upgrade. Then whenever I upgrade, I can't continue anymore due to the error below:

"Sorry, PowerPivot can't open the Data Model because there was a COM exception while opening. You might be opening a workbook on a corrupt installation of Excel. Click Details for more information."

Details:

============================
Error Message:
============================

Object reference not <g class="gr_ gr_823 gr-alert gr_gramm gr_run_anim Grammar multiReplace" data-gr-id="823" id="823">set</g> to an instance of an object.

============================
Call Stack:
============================

   at Microsoft.AnalysisServices.BackEnd.DataModelingSandbox.CreateTelemetryScope(String scopeName)
   at Microsoft.AnalysisServices.BackEnd.DataModelingSandbox.CreateTelemetryLog(String message)
   at Microsoft.AnalysisServices.BackEnd.DataModelingSandbox.CreateSandboxImpl()
   at Microsoft.AnalysisServices.BackEnd.DataModelingSandbox.Open(String precachedErrors, Boolean lightweight)
   at Microsoft.Office.PowerPivot.ExcelAddIn.InProcServer.LoadSandboxAfterConnection(String errorCache)
   at Microsoft.Office.PowerPivot.ExcelAddIn.InProcServer.LoadSafeSandboxAfterConnection(String errorCache)
   at Microsoft.Office.PowerPivot.ExcelAddIn.InProcServer.LoadOLEDBConnection(Boolean raiseCompleteEvent, String errorCache)

============================

Using the Proper or Upper Function

$
0
0

Hi,

I have several columns in a spreadsheet that I am creating that will contain only 1 letter.  I would like that letter to automatically capitalize. I don't care if I use the proper or upper functions to accomplish that but if there is no text in the cell, I want the cell to remain blank.

Can anyone help walk me through how I can accomplish that?

Thank you

rick-rox

Office 365 - Excel crashes in VBE7.DLL running or enabling macro

$
0
0

It seem's this was a problem a few years ago according to a lot of the threads i've read. The issue here is I have a co-worker who is having this issue. There are a handful of co-workers that use the same set of files and run the same macro's (files are on shared network). Yet it's her's that keeps crashing.

Error:

Faulting application name: EXCEL.EXE, version: 16.0.10730.20334, time stamp: 0x5c9dc672
Faulting module name: VBE7.DLL, version: 0.0.0.0, time stamp: 0x5b2d844e
Exception code: 0xc0000005
Fault offset: 0x00000000003926f3
Faulting process id: 0x276c
Faulting application start time: 0x01d4f9d7ef344fc1
Faulting application path: C:\Program Files\Microsoft Office\Root\Office16\EXCEL.EXE

I've looked for missing updates. I created her a new PC profile, it still crashes.  I followed the instructions here, which is basically the same set of instructions i've found on every other site mentioning the same issue:

https://blogs.technet.microsoft.com/the_microsoft_excel_support_team_blog/2012/09/07/excel-crashes-in-vbe7-dll-running-or-enabling-macro/

After all of the tinkering, we got it to work once. Once we rebooted her machine, it no longer worked. I repeated all the previous steps, and no go. 

She has a new Windows 10 machine. All the same software and updates as the others who use the same files. 

I thought I found a glitch in the VB scripting (i'm not a VB scripter, just an error popped when debugging), Yet the person next to her can open the same file, same shared location, run the same macro and has no issue, no error. 

We even attempted an Office reinstall, no dice. I am at a loss on this one. And this is hampering her work. Anyone have any idea's?

Thank You.

How do I disable accessibility to password protect on the device?

$
0
0

How can I prevent my local users on the device to get access to the password protect excel & words files?

We uses office 2016 & 2019.
As for company purposes we must check frequently employee's works.
But it seems some of them hiding something on their works,

since the files are internally, but we still want to see every wirks files and filter it.
for the fastest solution is to disable the password protect features.

so any admx template can be done?

"Delete" in the EXCEL right-click menu is grayed out

$
0
0

"Delete" in the EXCEL right-click menu is grayed out and cannot be used. But select the line you want to delete, you can delete it with the shortcut key.

How can this be solved?

Version EXCEL2010.

Viewing all 11829 articles
Browse latest View live


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