Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

- 396K Members
- 3,538 Online
- 432K Conversations

- Home
- :
- Excel
- :
- General Discussion
- :
- Problem with a formula in Excel

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Conversation Options

- Subscribe to RSS Feed
- Mark Conversation as New
- Mark Conversation as Read
- Pin this Conversation for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

09-06-2019 02:06 AM

I was wondering if someone could help me with the problem underneath.

I typed the following formula:

=SUM(I2:I1962)/SUM(I17638:I19598)

=SUM(I1962:I3921)/SUM(I17638:I19598)

=SUM(I3921:I5881)/SUM(I17638:I19598)

=SUM(I5881:I7840)/SUM(I17638:I19598)

=SUM(I7840:I9800)/SUM(I17638:I19598)

......

.....

In the sheet it formulas give percentages and it looks like you can find in the attachment.

The way I actually wanted to work but I could not find the correct formula for is as follows:

=SUM( (I(C19601)) : (I(D19601)) ) / SUM( (I(C$19610)) : (I(D$19610))

=SUM( (I(C19602)) : (I(D19602)) ) / SUM( (I(C$19610)) : (I(D$19610))

=SUM( (I(C19603)) : (I(D19603)) ) / SUM( (I(C$19610)) : (I(D$19610))

=SUM( (I(C19604)) : (I(D19604)) ) / SUM( (I(C$19610)) : (I(D$19610))

=SUM( (I(C19605)) : (I(D19605)) ) / SUM( (I(C$19610)) : (I(D$19610))

.......

.......

The C196** would refer to the number that's in that box and apply it as the number that's after letter I which will refer to a box together.

In this way I would have been able to do job way faster and not typing a lot.

If anybody knows how to do this, all the help is more than welcome, thanks in advance!

4 Replies

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

09-06-2019 04:09 AM

Is this what you mean?

=SUM(INDEX(I:I,C19603):INDEX(I:I,D19603))/SUM(INDEX(I:I,C$19610):INDEX(I:I,D$19610))

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

09-06-2019 04:46 AM

=SUM(INDEX(I2:I19598;C19601):INDEX(I2:I19598;D19601))/(SUM(INDEX(I2:I19598;C$19610)):INDEX(I2:I19598;D$19610))

I made this from it but I still get an error, the purpose is to use the number in the cells C19601, D19601, C19610 and D19610 to select an area in the database to sum up and get a grand total. In this way I want to divide the database in pieces per 10% from lowest to highest, after that I divide that through the top 10% to get a percentage. Both sums are already in de Code but there still is an area thats wrong.

A simple example to understand my issue is maybe:

In cell A5 there is a code that has the outcome 5

In cell A6 there is a code that has the outcome 50

The thing I want is to generate a code that does =SUM(I5:I50)

I only want to do it in the way from =SUM( I(A5) : I(A6) ), this is only not the correct way and I have no idea how to do this correctly.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

09-06-2019 11:47 AM

This at least starts with working formulas.

**= SUM( INDEX($I:$I,A5) : INDEX($I:$I,A6) )**

The comma or semi-colon separator is determined by your language localisation.

I only use Names to reference data so a version that I would use looks more like

**= SUM(subList)**

where 'sublist' refers to

**= INDEX(list, firstRow ) : INDEX(list, finalRow )**

I assume you will be happier with the first version.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

09-09-2019 12:42 AM

@Peter Bartholomew I found to a way to implement the formulas correctly, thanks for your help!

Related Conversations

How to Prevent Teams from Auto-Launch

chenrylee
in
Microsoft Teams
on
06-27-2019
98.8K
Views

4 Likes

28 Replies

Early preview of Microsoft Edge group policies

Sean Lyndersay
in
Discussions
on
06-14-2019
18.6K
Views

20 Likes

65 Replies

*Updated 9/3* Syncing in Microsoft Edge Preview Channels

Elliot Kirk
in
Articles
on
05-01-2019
35.8K
Views

23 Likes

202 Replies

How to download windows server 2019 update to 1903

Cmakar37
in
Windows Server for IT Pro
on
07-03-2019
12.4K
Views

0 Likes

5 Replies

$cred = Get-Credential without asking for prompts in powershell

TejCGS
in
Office 365
on
04-25-2019
21.5K
Views

0 Likes

6 Replies

Share

Popular

Learning Resources

Programs

Values

- Contact us
- Privacy & cookies
- Terms of use
- Trademarks
- About our ads
- © 2017 Microsoft