Learn Python

Learn Data Structure & Algorithm

Learn Numpy

Learn Pandas

Learn Matplotlib

Learn Seaborn

Learn Statistics

Learn Math

Learn MATLAB

Learn Machine learning

Learn Github

Learn OpenCV

Learn Deep Learning

Learn MySQL

Learn MongoDB

Learn Web scraping

Excel Introduction

Excel Home Tab

Excel Insert Tab

Excel Data Tab

Excel Use of Formula

Excel SUM and SUMIF function

Excel AVRAGE,AVRAGEIF,AVRAGEIFS,MEDIAN,MODE function

Excel COUNT,COUNTA,COUNTBLANK,COUNTIF,COUNTFS Formula

Excel MAX,LARGE,MIN,SMALL,DMAX,DMIN Formula

Excel generate date & time Formula

Excel CONCATENATE,UPPER,LOWER,PROPER Formula

Excel RUNNING TOTOAL,Power,GCD,DATEDIF Formula

Excel ROUND,ROUNDUP,ROUNDDOWN Formula

Excel IF,AND,OR Formula

Excel ARRAY Formula

Excel LOOKUP,VLOOPUP,MATCH,VLOOKUP+MATCH Formula

Excel DSUM,DAVERAGE,FORECAST,EDATE,DCOUNT Formula

Excel ERROR

Learn Power BI

Learn Tableau

Learn Docker

Learn Hadoop

Everything about excel array formula

ARRAY

Normally you can't perform multiple formulas at a time. But if you use ARRAY then you can perform. To perform ARRAY just press Ctrl+Shift+Enter to execute.It means that you will write formulas normally like =SUM(A1*B1) but to execute you don't press enter, you have to press Ctrl+Shift+Enter.
Example:
In the table, you have Customer Id, Total amount, Discount.Now let's find the total amount after the discount and also do the sum of all amount.
If you do this normally then what you will do is that at first you will subtract total amount and discount and after finding the discount you will apply the sum formula.


A B C D
Index Customer Id Total amount Discount Final total
1 111 1000 50 =B1-C1
2 221 700 20
3 4232. 1200 65
4 544 900 45
5 63 800 35
6 7457 1500 75
7 876 1350 67
8 916 1050 52
9 1033 400 0
10 111 3000 100
11 =SUM(D1:D10)

Output without using ARRAY:


1135
A B C D
Index Customer Id Total amount Discount Final total
1 111 1000 50 950
2 221 700 20 680
3 4232. 1200 65
4 544 900 45 855
5 63 800 35 765
6 7457 1500 75 1425
7 876 1350 67 1383
8 916 1050 52 998
9 1033 400 0 400
10 111 3000 100 2900
11 11,491

This method takes time but you can do this easily by using ARRAY.


A B C D
Index Customer Id Total amount Discount Final total
1 111 1000 50
2 221 700 20
3 4232. 1200 65
4 544 900 45
5 63 800 35
6 7457 1500 75
7 876 1350 67
8 916 1050 52
9 1033 400 0
10 111 3000 100
11 =SUM(B1:B10-C1:C10)

After writing the formula press Ctrl+Shift+Enter to execute.
Output after applying ARRAY formula:


1135
A B C D
Index Customer Id Total amount Discount Final total
1 111 1000 50 950
2 221 700 20 680
3 4232. 1200 65
4 544 900 45 855
5 63 800 35 765
6 7457 1500 75 1425
7 876 1350 67 1383
8 916 1050 52 998
9 1033 400 0 400
10 111 3000 100 2900
11 11,491

Here you can see that the output with using ARRAY and output using ARRAY is the same but using ARRAY you did less work, use less time, and get a good result.

If I want to search for anything in the dataset and after searching if you want to highlight those cells then use the search box. Suppose you have three columns, salesperson, product name, and area in a table. Now you want to find that how many times Rafsun present in the name column or any area name or any product name in the table and want to see how many times those are present in the column and also want to highlight those cells, in this case use the search box.

To create first prepare a cell where you want to type that name which you want to search. Then select the total table but don't select the column name. Then go to conditional formatting(in the Home tab) new rule option. After this, a dialog box will open. There click on use a formula to determine which cells to use as format option. After clicking you will see an option named format value where this formula cells to format. Go there and select that cell where you want to write the search value. Then give equal and select table first column first cell. Select two cells one cell where you will write the search value and one is the table first column first cell. Remove the dollar sign from the first column's first cell value. After doing this you will see the format option below. Go there and select a color and then click on ok.




Now go to that cell type and hit enter you will see that if the value is present then all those cells will be highlighted.

CodersAim is created for learning and training a self learner to become a professional from beginner. While using CodersAim, you agree to have read and accepted our terms of use, privacy policy, Contact Us

© Copyright All rights reserved www.CodersAim.com. Developed by CodersAim.