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

How to display both date and time as per system/local date and time format?

$
0
0

Hi,

I want to display a column like 'modifieddatetime' as per local/system date time format in excel sheet in vsto/c#.I can display only date in local format but not time along with the date

Is there any provision to apply any format programatically to display both date and time as per system/local date and time format.

Any help will be highly appreciated.

Thanks


I need assistance with this worksheet and the formulas

$
0
0

I have been trying to do this for a few days now and have not been able to wrap my head around it.

I have a worksheet, and in Column A, I will be listing out Project Numbers. Each project will have an assigned Value stating the Amount of Sheet Metal Needing to be produced for it. These values are in Column B. In Cell L1, I have the Maximum Sheet Metal that we can produce in one day. This amount may vary based on future expansion, the current value is 8000. In Column C, I am summing The previous projects Sheet Metal Value and the current projects sheetmetal value. In Column D, I am comparing these values to be sure nothing is over the daily maximum limit, then assigning it a "Day" for right now. What I need is to eventually assign it to a specific day based on these calculations. The problem I am currently running into are these.

A. If a Project requires more than the daily limit, I need to Split it into two days.

B. I have Two projects that should go on the same day, however it has been split into two days for some reason. This is occuring on Rows 12 and 13.

Formula in Column C: 

=IF(B2>=$L$1,IF(B2=8000,8000,
IF(C1="LIMIT",IF(B2>=$L$1,"LIMIT",B2),
IF(B1+B2>=$L$1,IF(B2>$L$1,"SPLIT",B2),
SUM(B1+B2)))),IF(C1="LIMIT",IF(B2>=$L$1,"LIMIT",B2),
IF(B1+B2>=$L$1,IF(B2>$L$1,"SPLIT",B2),SUM(B1+B2))))

Formula in Column D:

=IF(C2<$L$1,IF(C2<C1,D1+1,IF(C1+B2>C2,D1+1,D1)),D1+1)

Link to File Via DropBox

Thank-you in advance for any help!


Pivot table tab in powerpivot

$
0
0

Hi, I have downloaded the power-pivot add-in for excel 2010.

When I click on the main Power Pivot tab, I find that some of the sub tabs under it, including the Measures, Pivot Table, KPIs and Field List are greyed out. 

As a result, I am unable to use them and I especially need the pivot table tab to be available. Can somebody please provide a solution to and the reason behind this issue?

Thanks in advance.

Offset with If function

$
0
0
Cell C4 contains the formula,

{=IF(AVERAGE(N(OFFSET($A4,0,LARGE(COLUMN(A:BC)*ISNUMBER(A4:BC4)-1,{1,2}))))>=9.5,"Review 4 Wks","Review 2 Wks")}


The last score is 8.0, in cell AD4. C4 returns "review 2 wks" as it should. AE4, I have set as "exempt" as every other week will be exempt from scoring no matter what.

I would like AF4 to say "Review", as this is 2 weeks from the last score. If the score entered in AF4 is still below the threshold, AH4 should say review, but if it is above it, AH4 should say exempt, and AJ4 should say "review." (This is 4 weeks from a good score in AF4)

Thanks so much. I hope this makes sense.

How to extract text from file that have the number of the cell at other column in the same row?

$
0
0

Hi,

I have a column in the excel sheet that contains set of numbers. I want to fill another column with the texts of the files that have these numbers in a specific directory.

I mean that , if I have the directory myDir, which have set of files named numerically, then I need to get the contents of the file that thae the same number of the current row as the following picture:

How can I do so?

Thank you so much in advance.

Best Regards,

Aya.


Aya Zoghby

how to save an Excel normal.dot file in Excel 2007?

$
0
0

Hi,

Every time I open an Excel workbook pops up a question to allow macros, or not. Even with files that have no macros. It happens not only in my PC, but everyone who receive the files get the same question.

I think it is related to the normal.dot excel file in my PC. I think I have to create a new excel file, with no macros, and save it as the normal.dot, but I'm not sure where to save the new normal.dot.

Answers are welcome.

renatoabc

MSN MoneyCentral Web query

$
0
0
I do not have MSN MoneyCentral Web Query as one of my existing connections on my computer and am unable to complete my Excel class homework.  How can obtain MSN MoneyCentral Web query to show up as one of my existing connections?

2010 Excel Starter

$
0
0
Is it possible to remove the right side of a cell in a preprogrammed format??

Sorting a calculated field column in a Pivot Table

$
0
0

I have multiple columns in my pivot table and one of them is a calculated field.  In Excel 2003 I could select a cell in that column and click on sort (asending or desending) and it would sort the column I have a cell selected in.  That is not working in excel 2007.  How can I do this? 

Excel 2010 crash when changing Number Format on chart

$
0
0

We (I and some clients) have been experiencing a very, very annoying problem with Excel 2010 professional plus (on Windows 7). Whenever we try to change the number Format of any item on any chart (e.g. axis or datalabels), Excel gets very slow and even crashes after two or three clics on various formats.

I insist, we have this issue on any chart, whatever the type, size or content (I can crash my Excel with a simple bar chart with one serie of three points).

I tried to reproduce this issue on a blank virtual machine with only office 2010 installed but, unsurprisingly, everything works fine.

Seeing that I tried the following :

- Remove all Addins

- Reinstall Office 2010

But Excel still crashes.

 

Any Ideas?

Strange behavior with Recordset

$
0
0

I've never seen anything like this before. The code is very straight forward. From within VBA I create an ADODB Connection, pass a query and return the result in a Recordset. Then I use CopyFromRecordset to dump the results into a column. However this time after I ran the code and looked at the results in the worksheet, most of the cells were blank, even though I expected every cell to have a value. I decided to step through the code and use the Immediate window to look at the values in the Recordset. So I stopped the code after this line:

'rs is the Recordset. cn is the Connection. strSQL is the SQL string

rs.Open strSQL, cn

stop

Then in the immediate I got this result:

?rs(0)

4 - Attorney

That is the expected result. but then it gets strange. I went back and hit enter on the rs(0) line and got this:

?rs(0)

NULL

4 - Attorney

Where it originally said 4- Attorney, now it says NULL. I didn't change anything. I didn't move to the next record. I simply asked for the first record again and it has now changed to NULL. 

What's going on?

tod

Excel spreadsheet as desktop background

$
0
0

I make my working schedules in Excel file every week. I need to open the excel file time and again just to look the schedules. Now what I want to do is make the excel spread sheet as my desktop background so that I will see my schedules when ever I open my computer. One way is to save excel spread sheet as image and set as desktop background. But this way I have to change the picture every time I make changes in excel sheet. Is there any way that I set excel sheet as desktop background and make it editable directly without opening excel file ?


Excel file takes huge time during loading

$
0
0

Hi,

I have an excel 2010 file with 2000 rows 45 columns. I am using around 20000 check boxes inside the file in different columns. When I open the file it takes huge time. I have to use those controls within the file. Is it possible to reduce the loading time of the excel file or any other solution for this situation?


Frustrating Links

$
0
0
So I am dealing with a very frustrating issue and need help.  I am working with about 50 linked worksheets.  When the links are described as pointing to a network drive with a V:\ designation they don't work any more and won't let me change the source.  When the point to the same drive but under the unc mode (\\xxxxxxx) it will work. If I had a chance to change several hundred links, I would be happy to do that but it won't let me.  What's the deal?  How do I fix it?

Excel Floating Point Precision

$
0
0

Hi,

I am in trouble of the excel errors on Floating Point Precision. The result from my code in c++ is different from that from excel, which is always smaller around 0.005 to 0.0003 or something. My feeling tells me it should be stem from the Excel Precision, but I can't fix it after my efforts of many impossible errors. By the way, the data in my code is defined as Doule and I tried to change it as float to see if there will be some difference, but they both have the same result.

Then I turn to check the binary floating point precision and I think the root maybe the rounding in excel when calculating. But I have no idea on how to solve it. Could anyone who can help me?

Best Regards,


Microsoft 365 email from excel vba

$
0
0

I have tried this code for sending CDO, but it fails to connect with server. I have checked the smpt and smpt port are correct.

Set iMsg = CreateObject("CDO.Message")

    Set iConf = CreateObject("CDO.Configuration")

  iConf.Load -1    ' CDO Source Defaults

     Set Flds = iConf.Fields

    With Flds

         .Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2

          .Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") _

                         = "smtp.office365.com"

            .Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 587

            .Item("http://schemas.microsoft.com/cdo/configuration/sendusername") = "username"

            .Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "password"

           .Item("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = True

            .Update

        End With

excel 2010 filter not working

$
0
0

I am in my company's IT department and have a strange Excel issue.User is a standard user in a domain.She tried to use filter in excel 2010. when she clicked the filter button, the filter criteria appeared about 5 seconds and  disappeared.All excel documents which use the function have the issue.

The action has done:

1. Repair the excel, restart the PC. It works fine about 30 mins, then the problem happened again.

2. Reinstall excel, restart the PC. The problem not resolving.

3. Run as domain administrator, the problem also happened.

4. Reconfigure user's profile. It works fine a little time, then the problem happened again.

What caused the problem? How to resolve it?

Thank you

Excel 2007 Error

$
0
0

am using the Microsoft office 2007, recently my system was formated, after formating and installation all softwares we try to open the excel file. file not open and displaying the error message. i.e.,

"""""Excel Cannot open the file "$team..xlsx" becuase the file format or file extension is not valid. verifiy the file has not been currpted and the file extension matchs the format of the file."""

please send me a solutions.

Password Removal Excel 2010

$
0
0

I have an spreadsheet which is password protected. Not an issue because I know the password. The issue is, when I want to send it to another person, I don't need the spreadsheet/workbook protected because the receipient will need to alter it for their use and this is being sent to many users. W/ Excel 2003 the ability to remove the password protection feature was easy, Tools>Options>Remove Protection but I cannot find that w/ Excel 2010. I have gone to File>Info and File>Options but nothing allows me to "remove" the password.

Ideas?

An Unexpected error has occurred. AutoRecover has been disabled for this session of Excel.

$
0
0
Had this issue using Windows 7 and Excel 32 bit 2010.  I had 3 workbooks open that were created from a consultant.  I had the problem when they were on SharePoint 2010 and shared, but this also happened when I saved all 3 workbooks to my hard drive.  This only seems to happen using workbooks received from this one consultant using Excel 2010 workbooks.  It doesn't seem to happen with previous versions of Excel.  Any idea why this is happening?  It's not just me having this issue at my company, but again we just started experiencing these problems within the past few months when this consultant started sending workbooks in 2010. 
Viewing all 11829 articles
Browse latest View live


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