How do you do this in MS Excel?

Nicole

I have two columns, Name (Column A) and Amount (Column B).

I was able to compute for the sum of amounts in B of a person who's name is "Lhynne" in column A, which can be done using this formula:

=SUMIF(A:A, "Lhynne",B:B)

Now, I want to compute the total amount accounted for Lhynne and whenever the amount is less than or equal to 30, I'll add two to the amount. What formula can I use for this?

example.

  1. Name | Amount
  2. Lhynne | 30
  3. Nica | 15
  4. Lhynne | 40
  5. Lhynne | 20

So Lhynne's total amount is (30+2) + 40 + (20 + 2).

Nicole

I got the answer using the array formula found on this.

=SUMIF(A:A, "Lhynne",B:B) + (SUM((A:A="Lhynne")*(B:B<="30"))*2)

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How do you do this in MS Excel?

From Dev

MS Excel: How do you modify the default hyperlink color?

From Dev

After pasting data, how do you navigate cell contents with keyboard arrow keys in MS Excel?

From Dev

How do you create a string literal in excel?

From Dev

How do you reference Ranges in Excel VBA?

From Dev

How do you extract the first sentence in Excel

From Dev

How do you create a dynamic excel chart?

From Dev

How do you reference Ranges in Excel VBA?

From Dev

How do you group by week in Excel PowerPivot?

From Dev

How do you use PI in Excel formulas?

From Dev

How do you export MS Access Query Objects to text file

From Dev

MS-ACCESS: How do you tell if constraints are in place?

From Dev

How do you connect a MS botframework bot to Skype for Business

From Dev

How do you open the VBA editor in MS Word 2013?

From Dev

How do you change the opacity of an image in MS Word 2007?

From Dev

How do you create a multileveled list across tables, in MS Word?

From Dev

How do you give text a spacing around it in MS Word?

From Dev

How do you search MS SQL database for a particular string?

From Dev

How do i get MS EXCEL to Connect to MYSQL Database

From Dev

How to do a "great circle" calculation in MS Excel or LibreOffice?

From Dev

In MS Excel how do I set the number of decimal places dynamically?

From Dev

How do you change the color of a shape in a MS Word document using VBA triggered in MS Access?

From Dev

How do you copy the powerpivot data into the excel workbook as a table?

From Dev

How do you calculate the Quintile for every row in Excel?

From Dev

How do you find matching numbers in column in Excel?

From Dev

How do you cast an integer to a string in Excel's PowerQuery

From Dev

how do you send an escape key stroke to excel vba

From Dev

How do you convert text to a number in Excel 2010

From Dev

How do you add a help button to Excel userform

Related Related

  1. 1

    How do you do this in MS Excel?

  2. 2

    MS Excel: How do you modify the default hyperlink color?

  3. 3

    After pasting data, how do you navigate cell contents with keyboard arrow keys in MS Excel?

  4. 4

    How do you create a string literal in excel?

  5. 5

    How do you reference Ranges in Excel VBA?

  6. 6

    How do you extract the first sentence in Excel

  7. 7

    How do you create a dynamic excel chart?

  8. 8

    How do you reference Ranges in Excel VBA?

  9. 9

    How do you group by week in Excel PowerPivot?

  10. 10

    How do you use PI in Excel formulas?

  11. 11

    How do you export MS Access Query Objects to text file

  12. 12

    MS-ACCESS: How do you tell if constraints are in place?

  13. 13

    How do you connect a MS botframework bot to Skype for Business

  14. 14

    How do you open the VBA editor in MS Word 2013?

  15. 15

    How do you change the opacity of an image in MS Word 2007?

  16. 16

    How do you create a multileveled list across tables, in MS Word?

  17. 17

    How do you give text a spacing around it in MS Word?

  18. 18

    How do you search MS SQL database for a particular string?

  19. 19

    How do i get MS EXCEL to Connect to MYSQL Database

  20. 20

    How to do a "great circle" calculation in MS Excel or LibreOffice?

  21. 21

    In MS Excel how do I set the number of decimal places dynamically?

  22. 22

    How do you change the color of a shape in a MS Word document using VBA triggered in MS Access?

  23. 23

    How do you copy the powerpivot data into the excel workbook as a table?

  24. 24

    How do you calculate the Quintile for every row in Excel?

  25. 25

    How do you find matching numbers in column in Excel?

  26. 26

    How do you cast an integer to a string in Excel's PowerQuery

  27. 27

    how do you send an escape key stroke to excel vba

  28. 28

    How do you convert text to a number in Excel 2010

  29. 29

    How do you add a help button to Excel userform

HotTag

Archive