What formula to be used

loknathmondal

New Member
Joined
Sep 1, 2015
Messages
31
Hi,

I have huge data which has lakhs of rows in excel

I want get the reward column to be filled automatically by using formula.

1. If a customer earns 225 points in any Quarter he will get Mango.
2. If a customer earns 450 points (225 points any qrt+ 225 points any qrt) in any 2 Quarter he will get Banana.
3. If a customer earns 700 points (225 points any qrt+ 225 points any qrt + 250 points any qrt) in any 3 Quarter he will get Apple.
4. If a customer earns 850 points (225 points any qrt+ 225 points any qrt + 225 points any qrt +175 points any qrt) in any 4 Quarter he will get Orange.

Data Given below.

[TABLE="width: 604"]
<colgroup><col><col><col span="4"><col></colgroup><tbody>[TR]
[TD]SRNo[/TD]
[TD]Customer Name[/TD]
[TD]Qrt 1 - Point[/TD]
[TD]Qrt 2 - Point[/TD]
[TD]Qrt 3 - Point[/TD]
[TD]Qrt 4 - Point[/TD]
[TD]Reward[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]A. Edwin [/TD]
[TD]1023[/TD]
[TD]1988[/TD]
[TD]1731[/TD]
[TD]354[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]A.ISMAIL[/TD]
[TD]539[/TD]
[TD]741[/TD]
[TD]624[/TD]
[TD]246[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]A.Koteswararao[/TD]
[TD]595[/TD]
[TD]293[/TD]
[TD]256[/TD]
[TD]305[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]A.Nagaraju[/TD]
[TD]1180[/TD]
[TD]426[/TD]
[TD]5959[/TD]
[TD]5816[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]A.p Srivastav[/TD]
[TD]647[/TD]
[TD]448[/TD]
[TD]1059[/TD]
[TD]189[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]A K DAS[/TD]
[TD]0[/TD]
[TD]305[/TD]
[TD]760[/TD]
[TD]328[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]A Shankar[/TD]
[TD]463[/TD]
[TD]78[/TD]
[TD]882[/TD]
[TD]447[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]A sudhakar[/TD]
[TD]988[/TD]
[TD]309[/TD]
[TD]696[/TD]
[TD]28[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]A TRINATH REDDY[/TD]
[TD]414[/TD]
[TD]268[/TD]
[TD]649[/TD]
[TD]54[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]A.M.Babu[/TD]
[TD]244[/TD]
[TD]705[/TD]
[TD]364[/TD]
[TD]28[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]A.Madhu[/TD]
[TD]576[/TD]
[TD]262[/TD]
[TD]260[/TD]
[TD]27[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]A.RAMA RAO[/TD]
[TD]579[/TD]
[TD]491[/TD]
[TD]460[/TD]
[TD]127[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]13[/TD]
[TD]A.SAIDULU[/TD]
[TD]827[/TD]
[TD]1048[/TD]
[TD]673[/TD]
[TD]3[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]14[/TD]
[TD]A.Venkateswarao[/TD]
[TD]136[/TD]
[TD]254[/TD]
[TD]378[/TD]
[TD]434[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]15[/TD]
[TD]AVISHEK .[/TD]
[TD]0[/TD]
[TD]1165[/TD]
[TD]2721[/TD]
[TD]380[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]16[/TD]
[TD]AADHI NARAYAN[/TD]
[TD]81[/TD]
[TD]306[/TD]
[TD]318[/TD]
[TD]569[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]17[/TD]
[TD]1.SK JALAL UDDIN 1.SK JALAL UDDIN[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]0[/TD]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310[/TD]
[TD]328[/TD]
[TD]232[/TD]
[TD]0[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]39[/TD]
[TD]ZAWED KHAN[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]156[/TD]
[TD]366[/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]40[/TD]
[TD]ZAYED ALI[/TD]
[TD]0[/TD]
[TD]0[/TD]
[TD]31[/TD]
[TD]0[/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 604"]
<tbody>[TR]
[TD]
[/TD]
[/TR]
</tbody>[/TABLE]

what formula i can use on this excel sheet
and there is lakhs of rows in the excel sheet.


Regards
Loknath
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
"1. If a customer earns 225 points in any Quarter he will get Mango"
=> it means at least 225 or exactly 225
the same for others
 
Upvote 0
You could try this:

Code:
=IF(SUM(C3:F3)>=850,"Orange",IF(SUM(C3:F3)>=700,"Apple",IF(SUM(C3:F3)>=450,"Banana",IF(C3>=225,"Mango",IF(D3>=225,"Mango",IF(E3>=225,"Mango",IF(F3>=225,"Mango","")))))))

Manipulate the cell references as needed. Then drag or auto-fill to the end of your data.
 
Upvote 0
1. If a customer earns 225 points in any Quarter he will get Mango.
2. If a customer earns 450 points (225 points any qrt+ 225 points any qrt) in any 2 Quarter he will get Banana.
3. If a customer earns 700 points (225 points any qrt+ 225 points any qrt + 250 points any qrt) in any 3 Quarter he will get Apple.
4. If a customer earns 850 points (225 points any qrt+ 225 points any qrt + 225 points any qrt +175 points any qrt) in any 4 Quarter he will get Orange.

Loknath

Hi,

I don't think OP is Just looking for the Total score for the rankings, this is what I believe OP wants according to his description:


Book1
ABCDEFG
1SRNoCustomer NameQrt 1 - PointQrt 2 - PointQrt 3 - PointQrt 4 - PointReward
21A. Edwin102319881731354Orange
32A.ISMAIL539741624246Orange
43A.Koteswararao595293256305Orange
54A.Nagaraju118042659595816Orange
65A.p Srivastav6474481059189Orange
76A K DAS0305760328Apple
87A Shankar46378882447Apple
98A sudhakar98830969628Apple
109A TRINATH REDDY41426864954Apple
1110A.M.Babu24470536428Apple
1211A.Madhu57626226027Apple
1312A.RAMA RAO579491460127Apple
1413A.SAIDULU82710486733Apple
1514A.Venkateswarao136254378434Apple
1615AVISHEK .011652721380Apple
1716AADHI NARAYAN81306318569Apple
18171.SK JALAL UDDIN 1.SK JALAL UDDIN00071Not a Winner
191811.DHARADHAR SARDAR 11.DHARADHAR SARDAR002630Mango
201927.JIKIRIA SK 27.JIKIRIA SK001370Not a Winner
21203.LAXMIRAM MURMU 3.LAXMIRAM MURMU005000Mango
222133.SIRAJUDDIN SK 33.SIRAJUDDIN SK00283235Banana
23224.GHOSTHO GOPAL DAS 4.GHOSTHO GOPAL DAS00472363Banana
2423SUDHOY LOHAR048350125Mango
2524Shibu5421280Not a Winner
2625A MALLESWARAN .23045570Mango
2726A MANI A MANI00722145Mango
2827A Manivel00540Not a Winner
2928A MIDYA0020Not a Winner
3029A MONDAL0100Not a Winner
3130A MONDAL0020Not a Winner
3231A MURTHY034930Not a Winner
3332ZASIMUDDIN SEKH0020699Not a Winner
3433ZASIR AHEMAD .0612097Not a Winner
3534ZATTAR000435Mango
3635Zaved bhai323724257219Orange
3736Zaveri Shah001734356Banana
3837ZAWADUL834117321012682Orange
3938ZAWED3103282320Apple
4039ZAWED KHAN00156366Mango
4140ZAYED ALI00310Not a Winner
Sheet57
Cell Formulas
RangeFormula
G2=CHOOSE(IF(AND(COUNTIF(C2:F2,">=225")>=3,MIN(C2:F2)>=175),1,IF(AND(COUNTIF(C2:F2,">=225")>=3,COUNTIF(C2:F2,">=250")>=1),2,IF(COUNTIF(C2:F2,">=225")>=2,3,IF(COUNTIF(C2:F2,">=225")>=1,4,5)))),"Orange","Apple","Banana","Mango","Not a Winner")


G2 formula copied down.
 
Upvote 0
Hi,

I don't think OP is Just looking for the Total score for the rankings, this is what I believe OP wants according to his description:

ABCDEFG
SRNoCustomer NameQrt 1 - PointQrt 2 - PointQrt 3 - PointQrt 4 - PointReward
A. EdwinOrange
A.ISMAILOrange
A.KoteswararaoOrange
A.NagarajuOrange
A.p SrivastavOrange
A K DASApple
A ShankarApple
A sudhakarApple
A TRINATH REDDYApple
A.M.BabuApple
A.MadhuApple
A.RAMA RAOApple
A.SAIDULUApple
A.VenkateswaraoApple
AVISHEK .Apple
AADHI NARAYANApple
1.SK JALAL UDDIN 1.SK JALAL UDDINNot a Winner
11.DHARADHAR SARDAR 11.DHARADHAR SARDARMango
27.JIKIRIA SK 27.JIKIRIA SKNot a Winner
3.LAXMIRAM MURMU 3.LAXMIRAM MURMUMango
33.SIRAJUDDIN SK 33.SIRAJUDDIN SKBanana
4.GHOSTHO GOPAL DAS 4.GHOSTHO GOPAL DASBanana
SUDHOY LOHARMango
ShibuNot a Winner
A MALLESWARAN .Mango
A MANI A MANIMango
A ManivelNot a Winner
A MIDYANot a Winner
A MONDALNot a Winner
A MONDALNot a Winner
A MURTHYNot a Winner
ZASIMUDDIN SEKHNot a Winner
ZASIR AHEMAD .Not a Winner
ZATTARMango
Zaved bhaiOrange
Zaveri ShahBanana
ZAWADULOrange
ZAWEDApple
ZAWED KHANMango
ZAYED ALINot a Winner

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
[TD="align: center"]1[/TD]

[TD="align: center"]2[/TD]
[TD="align: right"]1[/TD]

[TD="align: right"]1023[/TD]
[TD="align: right"]1988[/TD]
[TD="align: right"]1731[/TD]
[TD="align: right"]354[/TD]

[TD="align: center"]3[/TD]
[TD="align: right"]2[/TD]

[TD="align: right"]539[/TD]
[TD="align: right"]741[/TD]
[TD="align: right"]624[/TD]
[TD="align: right"]246[/TD]

[TD="align: center"]4[/TD]
[TD="align: right"]3[/TD]

[TD="align: right"]595[/TD]
[TD="align: right"]293[/TD]
[TD="align: right"]256[/TD]
[TD="align: right"]305[/TD]

[TD="align: center"]5[/TD]
[TD="align: right"]4[/TD]

[TD="align: right"]1180[/TD]
[TD="align: right"]426[/TD]
[TD="align: right"]5959[/TD]
[TD="align: right"]5816[/TD]

[TD="align: center"]6[/TD]
[TD="align: right"]5[/TD]

[TD="align: right"]647[/TD]
[TD="align: right"]448[/TD]
[TD="align: right"]1059[/TD]
[TD="align: right"]189[/TD]

[TD="align: center"]7[/TD]
[TD="align: right"]6[/TD]

[TD="align: right"]0[/TD]
[TD="align: right"]305[/TD]
[TD="align: right"]760[/TD]
[TD="align: right"]328[/TD]

[TD="align: center"]8[/TD]
[TD="align: right"]7[/TD]

[TD="align: right"]463[/TD]
[TD="align: right"]78[/TD]
[TD="align: right"]882[/TD]
[TD="align: right"]447[/TD]

[TD="align: center"]9[/TD]
[TD="align: right"]8[/TD]

[TD="align: right"]988[/TD]
[TD="align: right"]309[/TD]
[TD="align: right"]696[/TD]
[TD="align: right"]28[/TD]

[TD="align: center"]10[/TD]
[TD="align: right"]9[/TD]

[TD="align: right"]414[/TD]
[TD="align: right"]268[/TD]
[TD="align: right"]649[/TD]
[TD="align: right"]54[/TD]

[TD="align: center"]11[/TD]
[TD="align: right"]10[/TD]

[TD="align: right"]244[/TD]
[TD="align: right"]705[/TD]
[TD="align: right"]364[/TD]
[TD="align: right"]28[/TD]

[TD="align: center"]12[/TD]
[TD="align: right"]11[/TD]

[TD="align: right"]576[/TD]
[TD="align: right"]262[/TD]
[TD="align: right"]260[/TD]
[TD="align: right"]27[/TD]

[TD="align: center"]13[/TD]
[TD="align: right"]12[/TD]

[TD="align: right"]579[/TD]
[TD="align: right"]491[/TD]
[TD="align: right"]460[/TD]
[TD="align: right"]127[/TD]

[TD="align: center"]14[/TD]
[TD="align: right"]13[/TD]

[TD="align: right"]827[/TD]
[TD="align: right"]1048[/TD]
[TD="align: right"]673[/TD]
[TD="align: right"]3[/TD]

[TD="align: center"]15[/TD]
[TD="align: right"]14[/TD]

[TD="align: right"]136[/TD]
[TD="align: right"]254[/TD]
[TD="align: right"]378[/TD]
[TD="align: right"]434[/TD]

[TD="align: center"]16[/TD]
[TD="align: right"]15[/TD]

[TD="align: right"]0[/TD]
[TD="align: right"]1165[/TD]
[TD="align: right"]2721[/TD]
[TD="align: right"]380[/TD]

[TD="align: center"]17[/TD]
[TD="align: right"]16[/TD]

[TD="align: right"]81[/TD]
[TD="align: right"]306[/TD]
[TD="align: right"]318[/TD]
[TD="align: right"]569[/TD]

[TD="align: center"]18[/TD]
[TD="align: right"]17[/TD]

[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]71[/TD]

[TD="align: center"]19[/TD]
[TD="align: right"]18[/TD]

[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]263[/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]20[/TD]
[TD="align: right"]19[/TD]

[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]137[/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]21[/TD]
[TD="align: right"]20[/TD]

[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]500[/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]22[/TD]
[TD="align: right"]21[/TD]

[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]283[/TD]
[TD="align: right"]235[/TD]

[TD="align: center"]23[/TD]
[TD="align: right"]22[/TD]

[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]472[/TD]
[TD="align: right"]363[/TD]

[TD="align: center"]24[/TD]
[TD="align: right"]23[/TD]

[TD="align: right"]0[/TD]
[TD="align: right"]48[/TD]
[TD="align: right"]350[/TD]
[TD="align: right"]125[/TD]

[TD="align: center"]25[/TD]
[TD="align: right"]24[/TD]

[TD="align: right"]54[/TD]
[TD="align: right"]21[/TD]
[TD="align: right"]28[/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]26[/TD]
[TD="align: right"]25[/TD]

[TD="align: right"]230[/TD]
[TD="align: right"]45[/TD]
[TD="align: right"]57[/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]27[/TD]
[TD="align: right"]26[/TD]

[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]722[/TD]
[TD="align: right"]145[/TD]

[TD="align: center"]28[/TD]
[TD="align: right"]27[/TD]

[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]54[/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]29[/TD]
[TD="align: right"]28[/TD]

[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]30[/TD]
[TD="align: right"]29[/TD]

[TD="align: right"]0[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]31[/TD]
[TD="align: right"]30[/TD]

[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]2[/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]32[/TD]
[TD="align: right"]31[/TD]

[TD="align: right"]0[/TD]
[TD="align: right"]34[/TD]
[TD="align: right"]93[/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]33[/TD]
[TD="align: right"]32[/TD]

[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]206[/TD]
[TD="align: right"]99[/TD]

[TD="align: center"]34[/TD]
[TD="align: right"]33[/TD]

[TD="align: right"]0[/TD]
[TD="align: right"]61[/TD]
[TD="align: right"]209[/TD]
[TD="align: right"]7[/TD]

[TD="align: center"]35[/TD]
[TD="align: right"]34[/TD]

[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]435[/TD]

[TD="align: center"]36[/TD]
[TD="align: right"]35[/TD]

[TD="align: right"]323[/TD]
[TD="align: right"]724[/TD]
[TD="align: right"]257[/TD]
[TD="align: right"]219[/TD]

[TD="align: center"]37[/TD]
[TD="align: right"]36[/TD]

[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]1734[/TD]
[TD="align: right"]356[/TD]

[TD="align: center"]38[/TD]
[TD="align: right"]37[/TD]

[TD="align: right"]834[/TD]
[TD="align: right"]1173[/TD]
[TD="align: right"]2101[/TD]
[TD="align: right"]2682[/TD]

[TD="align: center"]39[/TD]
[TD="align: right"]38[/TD]

[TD="align: right"]310[/TD]
[TD="align: right"]328[/TD]
[TD="align: right"]232[/TD]
[TD="align: right"]0[/TD]

[TD="align: center"]40[/TD]
[TD="align: right"]39[/TD]

[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]156[/TD]
[TD="align: right"]366[/TD]

[TD="align: center"]41[/TD]
[TD="align: right"]40[/TD]

[TD="align: right"]0[/TD]
[TD="align: right"]0[/TD]
[TD="align: right"]31[/TD]
[TD="align: right"]0[/TD]

</tbody>
Sheet57

[TABLE="width: 85%"]
<tbody>[TR]
[TD]Worksheet Formulas[TABLE="width: 100%"]
<thead>[TR="bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]
[TH="width: 10px"]Cell[/TH]
[TH="align: left"]Formula[/TH]
[/TR]
</thead><tbody>[TR]
[TH="width: 10px, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=DAE7F5]#DAE7F5[/URL] "]G2[/TH]
[TD="align: left"]=CHOOSE(IF(AND(COUNTIF(C2:F2,">=225")>=3,MIN(C2:F2)>=175),1,IF(AND(COUNTIF(C2:F2,">=225")>=3,COUNTIF(C2:F2,">=250")>=1),2,IF(COUNTIF(C2:F2,">=225")>=2,3,IF(COUNTIF(C2:F2,">=225")>=1,4,5)))),"Orange","Apple","Banana","Mango","Not a Winner")[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]



G2 formula copied down.

Thanks a lot.

Really appreciated.


Regards
Loknath
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top