Find a median in Python from Excel file

I am looking to find the median as floats in the Excel which is longitude and contains (-68.2288284302 ~ -159.4401397705)

However, based on my code it returns 173.3871917725 which is not make sense.. right ? It suppose to return around -91.xxxxx based on calculation in Excel.

below is my code:

for i in range(2, maxRow+1):        
    country = sheet.cell(i,7).value
    longitude = sheet.cell(i,6).value
    median = np.median(longitude)
    if country=="United States":
        print("United States " + str(median))

below is the ss for output.


Could anyone help me with this issue ?

python – Cannot assign to function call when looping through and converting excel files

With this code:

xls = pd.ExcelFile('test.xlsx')
sn = xls.sheet_names
for i,snlist in list(zip(range(1,13),sn)):
    'df{}'.format(str(i)) =  pd.read_excel('test.xlsx',sheet_name=snlist, skiprows=range(6))

I get this error:

‘df{}’.format(str(i)) = pd.read_excel(‘test.xlsx’,sheet_name=snlist,
^ SyntaxError: cannot assign to function call

df+str(i) also return error

i want to make result as:
df1 = pd.read_excel.. list1…
df2 = pd.read_excel… list2….

What Is Restaurant Management Software & How Is It Better Than Excel Spreadsheets?

If you use spreadsheets to manage your restaurant inventory, keep financial records, organize and supervise employee shifts, control operating costs, and craft detailed reports, you know how tough and tedious it is. Managing your restaurant with spreadsheets? Bad idea. Is there a better solution?-Yep, it is- restaurant management software. You can use already existing solutions or even develop your own restaurant management software.

I will do data entry, copy paste, data mining, excel data entry, web research for $99

I will do data entry, copy paste, data mining, excel data entry, web research

I have long time working experience in data entry, copy paste, data mining, excel data entry and web research.

I am very reliable, professional and experienced Virtual Assistant for data entry, copy paste, data mining, web research, excel data entry, data collection using on “google sheet and MS Excel Sheet.

I’m also Skilled person of Digital Marketing, SEO, SMM, Photoshop, Illustrator, MS-word, Excel, Powerpoint. I know how to promote Social Media and expert in Video Editing.

My Service for You:

  • Online -Offline data entry
  • copy paste tasks and Typing Service
  • Web Research
  • LinkedIn data collection
  • Social Medias Data Collection
  • Business Data collection
  • Email Collection
  • Data Mining
  • Products Listing
  • File Conversion
  • Big Data Entry Project
  • Language Translation
  • Excel Data Cleaning
  • Lead Generation

Why you Choose Me:

1.Quick Response Time and Friendly Support for my customers

2.100% Fast Active & safe Delivery

3.Detailed Reporting on excel sheet with A to Z.

4.100% Satisfaction.

Inbox me learn more..




microsoft excel – Steps on just how to produce a map

Mapping services will certainly offer you a wide range of methods to boost your efficiency and see your thoughts in black and white. Having a card will always permit you to have your impressions to make sure that you can assess them later. It has never ever been easier to make use of a map to envision your concepts and then establish a strategy to aid you reach your objectives.

Secured mind map

Lots of people would like to know that their mind map will certainly be shielded and that others will not have access to it. If you think the same, you’ll enjoy to understand that your card will certainly be password safeguarded. No person will certainly be able to access your card without having your password. Mind Map Versions It’s always good to know that you can service your mind maps anywhere and have access to the very same devices anytime. So it’s great to see that when you pay for a map package you’ll have a desktop computer version that you can access. You want to be able to access your map anywhere and make changes to it as you choose.

If you pay a higher flat price for your card, you’ll more than happy to recognize that consumers that have access to your card service will have the ability to make changes too. This makes it very easy for anyone to share their ideas. As you can see, creating charts can be the very best choice you have ever made.

Old maps offer an attractive as well as vivid understanding of new and also old lands, traces of numerous political regimens that have declined in time, and also modifications in geographical variables. The modifications that took place in the geographical borders were so tremendous that if you compare the old maps with the current map, the collection that will certainly be drawn is that the globe has actually transformed in many methods. Ancient inscriptions are just one of the treasures that the world maintains widespread and also throughout the globe. There has actually been a lot publicity associated with letters that people find the concept of ancient letters an interesting question.

Old cards and also card collection agency

Collection agencies are delighted with the concept of maintaining old inscriptions. Collectors often focus on the cartographer or occasionally on the duration to which the map belongs. The maps are assembled according to the name of the cartographer or according to the moment suggested on the map. The last couple of years have actually gone quite possibly for card collectors. With a lot of individuals all over the world trying to find traces of old maps, accumulating an old map is not a problem.

Lots of leading firms have started the development of replicas of the initial cards. The idea behind the development of the reproduction is to make the card readily available to all card collection agencies. The costs showed for the old prints rely on the nation in which the card is requested and also the age of the card. In case the card is very old, it is quite difficult to make a replica. As a result, the estimate in such a situation is quite high. However in case the card is a few thousand years old and is available in good condition, the estimate for such a card are fairly budget-friendly. The high quality offered by the graphics business is superb as well as these cards are certainly worth your money.

These classic cards are popular with collection agencies. Old engravings give traces of ancestors and their world. The beauty of the classic card is really attractive and records the detects of the visitors.

microsoft excel – Conditional formatting fill pattern

I have a query around the auto-population or conditionally formatted cells. Example below:

enter image description here

As it stands, the amount column J has the formula =IF(ISBLANK(H9)+ISBLANK(I9)=2,"",H9-I9).

The entire column has conditional formatting for if the value in of the cell is greater than 0 to format with green fill and dark green text. If the value is less than 0 it’s to format with light red fill with dark red text.

For some reason, as in the image, when no data is entered into any cell, other than the above formula for its representative line it auto-fills to green.

How do I adjust the formatting so that there is no fill until the value of the cell is either greater than or less than 0?

user accounts – With Sharepoint hosted Excel file I’m getting the error message “trouble signing in” when trying “Open in Desktop App”

I’m unable to Open any Excel files on my Desktop Excel App from Sharepoint “Open in App” or Excel online “Open in Desktop App”.

I’m able to log into my company’s Sharepoint, and Office365 with my business credentials using my company login, which for the sake of argument I’ll call I have an old personal hotmail account that I use on my desktop, Frank**** And I have Excel Professional 2010 Desktop installed.

When I try to open an excel file from Sharepoint on my desktop with “Open in App” or “Open in Desktop App”, I get the sign in error as pictured below. Where even though signed in as Excel is stating that User acccount Frank**** does not exist in tenant ‘Mycompany’.

I’m using a newly installed Edge browser that doesn’t have me signed in on anything with my personal email, Frank****, so where is Excell getting Frank****, and why does it think I should be singing in with that, instead of opening it and singing in with my company credentials,

Excel does explicately ask for a sign in, it just does this automatically. Also, I can download the Excel file from Sharepoint or Excel online and open it with my desktop Excel with no problems.

Anyways, I appreciate the help.

enter image description here

Office.Settings not retrievable in Excel Online when created and set in Excel Desktop

According to the API docs, the Office.Settings objects are saved per add-in and per document. That is, they are available only to the add-in that created them, and only from the document in which they are saved.

I’m a bit confused regarding the Office.Settings interface. I’ve created a gist in the ScriptLab Add-in where I set 2 setting objects (queries and queryIDs) and then retrieve them (log them to console).


If I run this gist on Excel Desktop, then I can create the settings and retrieve them successfully. If I save this workbook and open it in Excel Online and run the gist again then I cannot retrieve the settings, it returns null for both settings object.

According to my knowledge the ScriptLab Add-in is the same for the Desktop and Online version, am I missing something, or is it the intention of OfficeJS to not make the settings available/visible in the Online version if it was created and set in the Desktop version?

Settings desktop found:
The settings objects was found in Excel Desktop

Settings online null:
The settings objects was NOT found in Excel Online

worksheet function – Excel If-Else formula to capture ”hour” and “min” across an excel row

I have a row of “h min” values (eg:2h 15min) across a row. I need to capture the ‘hour’ and ‘min’ separately for which I’m using “=LEFT(B2,(FIND(” “,B2,1)-1))” and “=MID(B2,FIND(” “,B2)+1,256)” in separate cells, using the space separator to identify them seperately.

The problem is when there is only either one value, i.e. only hour or only minute (eg. “2h” or “20min”) in which case I get an error. How should I re-code both my LEFT and MID formula to ensure it still captures the hour/minute where it’s present and gives a blank where it’s not present.

Many thanks.

ms office – Microsoft Excel on Mac Error VBA Run-Time 1004 on Application Open – Endless Loop – Cannot Use Excel

When Excel is opened – no matter the document – there is a run-time error as shown in the picture belowClick The Link

clicking on End does nothing but brings up the same error window again, causing a loop that causes Excel to not be usable. Please advise. Thanks! This is Excel on Mac. I tried re-installing already.