Jump to content


Excel01:Data Summarization With Formulas


  • Please log in to reply
8 replies to this topic

#1 arain.faizan

arain.faizan

    Ultimate Member

  • Moderators
  • PipPipPipPipPipPipPip
  • 18,563 posts
  • Gender:Male
  • Location:On da way 2 heaven
  • Interests:In You =P
  • Country:


  • Other Details:
    <a href="http://tinypic.com?ref=fthaoz" target="_blank"><img src="http://i55.tinypic.com/fthaoz.jpg" border="0" alt="Image and video hosting by TinyPic"></a>

    <img src='http://www.apniisp.com/forum/style_images/webber1169285691/folder_team_icons/dreamteam_title.jpg' alt='Dream Team Member' title='Dream Team Member'>
    <a href="http://tinypic.com" target="_blank"><img src="http://i46.tinypic.com/bhlppv.jpg" border="0" alt="Image and video hosting by TinyPic"></a>

Posted 22 January 2010 - 05:19 PM

Excel # 01
--------------

Assalamalykum

Ok lets start our first class tongue.gif
attendence ist challo jaldi jaldi present sir bolo tongue.gif

OK..Here is the link go and download this workbook named Assignment # 01 Summarizing Data with Formulas from the following link


http://cid-1cb4bb4c88c79d88.skydrive.live....cel%202007?uc=1



hopefully you have installed ms excel 2007 ..
because there are so many formulas which doesnt work in 2003
yes there are alternative ways to perform such tasks in 2003
buts its bit complicated ....

kheir

before we start let me tell you its just the small things which can solve big big problems
so make sure from the very begning that your data should be arranged in the proper manner
in order to get the maximum out put from it

okay let us know what is the proper form of data

your data should be in records ...
see this



see on the left every row has a proper record

you have cloumns in excel ..that are calleds ranges
then you have rows there ..this is called records
go into the sheet "Sumif & Sumproduct"

start seeing form F Coulmn Then go to the 3rd Row It Says Trans Number , Name, date, Product, Units, Dollar, Location
These are called Headers , and under this every row has a complete record i repeat a complete record
see row # 4 it says at tran # one Mr Ali Has Sold 45 Printers at 4 jan 04 at east region for 137.20 dollars
Thats a complete record, after this you should not have Blanks rows between records...

Assigning Names to the ranges..

jis range mei hamara data para hoa hei to we can assign them names ..takey formulas mei assani rahey

yahan is pic mei dikhiyye




left top per names likha hoa a raha hei kyun k yeh pori range mei ney select ker k isey
name aasign kiya hoa hei ab mei jahan bhi kisi formula mei name ka ref doun ga tow excel knows k i am talking about the
whole range which consist of 1900 names almost mujhey batana nahi parey ga k e4 sey ley e1900 tak check karo
it means name = g4:g1900 in our case


well app k pass jo sheet hei us mei names already assign hoye hoye hein ...press f3



yeh window pop up ho jaye gee showing you all the names somebody has assgined in the sheet
app in sab ko delete ker dein phir area select ker k fomula bar k left per click karein
aur apni selection ko jo bhi name assign kerna chahein ker dein ...assan tareeka yeh hei k
if you have proper header then select all the data & press ctrl+shift+F3  see following image



to it is asking you k kiya naam doun top row? yes humein headers hi to chahiyein yahan check lagayein aur ok ker
dein ab tamam fields ko name headers waley name assign ho jayein gey make sure k appp tamam data select ker k karein yeh
in our case f4 sey ley ker i guess around l1900 tak tamam data select kerein
asan tareeka selection ka yeh hei k f4 per click karein then crtl+shift+right arrow & then down arrow poori
selection ho jaye gee

ab left side pey a jayein isi sheet k


b5 pey ayiye ali k samney can you sum how many dollars sales ali has done?

ok type here =sumif(names,a5,dollars) & then enter
so you got the answer but how see names are the whole range that is from g4:g1903
yeh to ho gai criteria range then it is asking you about criteria kk app ka criteria kiya hei?
is range mei sey excel kiya ectract karey ? to hum ney kaha a5 mei jo likha hei usey dekho pori range mei
aur jahan jahan woh naam miley us key dollars ka sum ker do ...so simple -- (You may also write Ali in double quotes "ALI" in criteria section
but then you wouldnt be able to copy paste this formula )

ab baki sarey app sey ho jayein gey --
bilkul aisey hi countif work kerta hei simply it doesnt asks you about sum range
kyun k woh bs count ker k dey dey ga k ali na name is range mei kitni dafa aya hei

okay ab right side pey aye can you calculate how many laptops ali has sold ?????
sumif sey app ney total sales to nikal lein ali ki lekin what about sales of laptops?
and so on?

okay is k liye wesey to kafi funcations hein lekin 2007 mei excel has introduced very easy function
through sumifs yes write =sumifs(dollars,names,"Ali",products,"laptop") and hit enter
ho gaya? now you can have multiple criteria in 2007 up to 127 criterias ..its simply amazing

see this img



app dekhein mei ney criteria one mei ali nahi likha balkey o5 ka ref dey diya hei O cloumn mei
sales reps k names hein or O5 sey pehley $ ka matlab hei k mei ney coulmn lock ker diya ab ager mei is ko
right pey copy karoun ga to yeh hamesha o5 ko hi dekhey ge similarly criteria 2 mei p4 yani laptop
or p k baad $ ka matlab hei k mei ney row lock ker dee hei yani k ab ager mei iss ko down copy karoun ga to
yeh hamesha p mei hi dekhey ga nechey nahi aye ga ...

aur grand totals k liye lemme tel you app nechey aur samney sey totals hata dein then sara numerical data select karein
then one coulmn to right and one rows down select karein and press alt = ho gaya sum

abhi k liye itna bohat hei =P
baki jo kaaam hum ney nahi kiya yani nechey multipla countifs aur baki k
jo bhi formulas pochey gaye hein sheet mei app usey solve ker k upload kijiye jaldi jaldi --

aur ager app formula mei koi name call kerwana chahiyein ..kyuun k typing is not a good option..
to app formula edit mode mei rehtey hoye hi f3 press karein wur wahan sey select ker lein

WasAlaM

#2 *~TheBlessedGirl~*

*~TheBlessedGirl~*

    Mere wajood ka sara nazaam Tumse hai

  • Moderators
  • PipPipPipPipPipPipPipPip
  • 71,422 posts
  • Gender:Female
  • Location:Hongkong.
  • Interests:Really not in You :D
  • Country:

Posted 23 January 2010 - 09:28 AM

Really nice arainnn yes.gif Appreciated work smile.gif
Chalo ab sab jaldi se home work le ke ayien tongue.gif !


#3 Coolprince

Coolprince

    Ultimate Member

  • Members
  • PipPipPipPipPipPipPip
  • 19,063 posts
  • Gender:Male
  • Location:Lahore (Pakistan)
  • Interests:Tere Wajood se Hein Gulistan ki roneqain Sari

    Ky tere baghair hum dunya ko veeran likhte hein
  • Country:


  • Other Details:
    <a href="http://tinypic.com" target="_blank"><img src="http://i48.tinypic.com/14kfak5.jpg" border="0" alt="Image and video hosting by TinyPic"></a><a href="http://tinypic.com" target="_blank"><img src="http://i48.tinypic.com/14kfak5.jpg" border="0" alt="Image and video hosting by TinyPic"></a><a href="http://tinypic.com" target="_blank"><img src="http://i47.tinypic.com/34hho3s.jpg" border="0" alt="Image and video hosting by TinyPic"></a>

    <a href="http://tinypic.com" target="_blank"><img src="http://i46.tinypic.com/bhlppv.jpg" border="0" alt="Image and video hosting by TinyPic"></a>

Posted 23 January 2010 - 09:59 AM

wowwwwwww

zabar10 janab

kitnaa saraaa lecture hay yeh tu  yes.gif

Really very hard work  bravo_2.gif

Laikin karnaa kiaa hay thinking.gif



#4 arain.faizan

arain.faizan

    Ultimate Member

  • Moderators
  • PipPipPipPipPipPipPip
  • 18,563 posts
  • Gender:Male
  • Location:On da way 2 heaven
  • Interests:In You =P
  • Country:


  • Other Details:
    <a href="http://tinypic.com?ref=fthaoz" target="_blank"><img src="http://i55.tinypic.com/fthaoz.jpg" border="0" alt="Image and video hosting by TinyPic"></a>

    <img src='http://www.apniisp.com/forum/style_images/webber1169285691/folder_team_icons/dreamteam_title.jpg' alt='Dream Team Member' title='Dream Team Member'>
    <a href="http://tinypic.com" target="_blank"><img src="http://i46.tinypic.com/bhlppv.jpg" border="0" alt="Image and video hosting by TinyPic"></a>

Posted 23 January 2010 - 10:26 AM

app log same criteria mei number of transantions count ker k batayein tongue.gif
yani k countif(s) use karein

aur aik yearly report bana ker dein tongue.gif
jis mei tamam sales reps ki sales a rahi ho k ali ki total sales 2004 mei kya thin 2005 mei kya thin nd 2006 mei
aisey hi baki reps ki

challo kaam pey lag jao tongue.gif

#5 saher_a1285

saher_a1285

    Never Logs off!

  • Moderators
  • PipPipPipPipPipPipPipPip
  • 22,593 posts
  • Gender:Female
  • Location:India
  • Country:


  • Other Details:
    <a href="http://tinypic.com" target="_blank"><img src="http://i50.tinypic.com/1zf1x82.gif" border="0" alt="Image and video hosting by TinyPic"></a>
    <a href="http://tinypic.com" target="_blank"><img src="http://i49.tinypic.com/2zzngh0.jpg" border="0" alt="Image and video hosting by TinyPic"></a><a href="http://tinypic.com" target="_blank"><img src="http://i45.tinypic.com/33kyg4m.jpg" border="0" alt="Image and video hosting by TinyPic"></a><a href="http://tinypic.com" target="_blank"><img src="http://i49.tinypic.com/2zzngh0.jpg" border="0" alt="Image and video hosting by TinyPic"></a>
    <img src='http://www.apniisp.com/forum/style_images/webber1169285691/folder_team_icons/dreamteam_title.jpg' alt='Dream Team Member' title='Dream Team Member'>

Posted 25 January 2010 - 12:16 PM

Very Well Explained Arain yes.gif

ek week ka homework dene k liye kaha tha saal bhar ka nahin tongue.gif

yeh to HW na hua Project ho gaya tongue.gif

#6 arain.faizan

arain.faizan

    Ultimate Member

  • Moderators
  • PipPipPipPipPipPipPip
  • 18,563 posts
  • Gender:Male
  • Location:On da way 2 heaven
  • Interests:In You =P
  • Country:


  • Other Details:
    <a href="http://tinypic.com?ref=fthaoz" target="_blank"><img src="http://i55.tinypic.com/fthaoz.jpg" border="0" alt="Image and video hosting by TinyPic"></a>

    <img src='http://www.apniisp.com/forum/style_images/webber1169285691/folder_team_icons/dreamteam_title.jpg' alt='Dream Team Member' title='Dream Team Member'>
    <a href="http://tinypic.com" target="_blank"><img src="http://i46.tinypic.com/bhlppv.jpg" border="0" alt="Image and video hosting by TinyPic"></a>

Posted 27 January 2010 - 05:39 PM

Thanks Saher..

~Kisi sey nahi Bani Yearly Report?? unsure.gif

#7 Coolprince

Coolprince

    Ultimate Member

  • Members
  • PipPipPipPipPipPipPip
  • 19,063 posts
  • Gender:Male
  • Location:Lahore (Pakistan)
  • Interests:Tere Wajood se Hein Gulistan ki roneqain Sari

    Ky tere baghair hum dunya ko veeran likhte hein
  • Country:


  • Other Details:
    <a href="http://tinypic.com" target="_blank"><img src="http://i48.tinypic.com/14kfak5.jpg" border="0" alt="Image and video hosting by TinyPic"></a><a href="http://tinypic.com" target="_blank"><img src="http://i48.tinypic.com/14kfak5.jpg" border="0" alt="Image and video hosting by TinyPic"></a><a href="http://tinypic.com" target="_blank"><img src="http://i47.tinypic.com/34hho3s.jpg" border="0" alt="Image and video hosting by TinyPic"></a>

    <a href="http://tinypic.com" target="_blank"><img src="http://i46.tinypic.com/bhlppv.jpg" border="0" alt="Image and video hosting by TinyPic"></a>

Posted 29 January 2010 - 02:15 PM

QUOTE(saher_a1285 @ Jan 25 2010, 12:16 PM) View Post
Very Well Explained Arain yes.gif

ek week ka homework dene k liye kaha tha saal bhar ka nahin tongue.gif

yeh to HW na hua Project ho gaya tongue.gif


Shukar in ki bhi koi baat dil ko lagee tongue.gif

@ Arain g

jo homework kar k dikhaye gaa

uss k liay prize bhi hay naa?? thinking.gif


#8 arain.faizan

arain.faizan

    Ultimate Member

  • Moderators
  • PipPipPipPipPipPipPip
  • 18,563 posts
  • Gender:Male
  • Location:On da way 2 heaven
  • Interests:In You =P
  • Country:


  • Other Details:
    <a href="http://tinypic.com?ref=fthaoz" target="_blank"><img src="http://i55.tinypic.com/fthaoz.jpg" border="0" alt="Image and video hosting by TinyPic"></a>

    <img src='http://www.apniisp.com/forum/style_images/webber1169285691/folder_team_icons/dreamteam_title.jpg' alt='Dream Team Member' title='Dream Team Member'>
    <a href="http://tinypic.com" target="_blank"><img src="http://i46.tinypic.com/bhlppv.jpg" border="0" alt="Image and video hosting by TinyPic"></a>

Posted 01 February 2010 - 01:51 PM

Ladoo Milein gey bhai dukaan sey

~okay app log aik formula lagaiye

date waley column pey =Year(Datecellreferencehere) it will extract year from the said date ..
ab to ho jaye ga tongue.gif

#9 GeseleS

GeseleS

    Newbie

  • Members
  • Pip
  • 4 posts
  • Country:

Posted 21 February 2012 - 07:39 PM

Hi everyone

I have more than 200,000 rows with 10 columns in Excel sheet. i.e., total number of cells is 2,000,000

For each 50-row group, I need to calculate the average of each row;
Averaging to three columns of this group and inserting the average at a new column Col #11

My way is to calculate the average for the first row for each group and drag by mouse till the last row in this group. Then, repreating the same operation
calculate the average