Page 2 of 3 FirstFirst 123 LastLast
Results 13 to 24 of 25

Thread: How to count in excel

  1. #13
    IT.BOY's Avatar
    IT.BOY is offline Senior Member
    Last Online
    17th November 2017 @ 12:13 PM
    Join Date
    26 Dec 2007
    Location
    *MAA KI AGOOSH*
    Gender
    Male
    Posts
    28,374
    Threads
    651
    Credits
    998
    Thanked
    3079

    Default

    دوست آپ ایک کام کریں۔۔۔
    ایکسل کی شیٹ میں جو کام آپ چاہتے ہیں۔۔۔
    وہ کر کے ہمیں یہاں پر فائل شئیر کر دیں۔۔۔باقی کوئی بھی ممبر آپ کو فارمولا لگا کر دے دے گا۔۔۔اوکے
    [FONT="Jameel Noori Nastaleeq"][CENTER][COLOR="Blue"][SIZE="5"][B]Coming Soon...:)[/B][/SIZE][/COLOR][/CENTER][/FONT]

  2. #14
    syar is offline Advance Member
    Last Online
    24th April 2024 @ 01:04 AM
    Join Date
    31 Jul 2009
    Location
    Nowshera(KP)
    Age
    47
    Gender
    Male
    Posts
    884
    Threads
    9
    Credits
    563
    Thanked
    340

    Default

    Quote shehzad_ktk79 said: View Post
    Yes exactly syar bhai me ya he chahta hon
    May be i understand correctly Follow th below
    1. Right click on sheet1
    2. click on view code
    3. Open hone wali window m below code paste kar dain. ye jab bhe ap is m koi value enter karain ga ya automatic add karta jae ga. agar ap is m wese bhe enter karian ga tu ya usi value ko add kar da ga. so be carefull. Please test and reply

    Code:
    Private Sub Worksheet_Change(ByVal Target As Range)
    Dim dblVal As Double
    If Intersect(Target, Range("A1")) Is Nothing Then Exit Sub
    On Error Resume Next
    Application.EnableEvents = False
    With Range("A1")
        dblVal = Val(.Value)
        Application.Undo
        .Value = dblVal + Val(.Value)
    End With
    Application.EnableEvents = True
    End Sub

  3. #15
    Join Date
    09 Apr 2009
    Location
    KARACHI&
    Gender
    Male
    Posts
    19,391
    Threads
    419
    Credits
    39,894
    Thanked
    1813

    Default

    بھائی میرا خیال بھی یہ ہے کہ اس سے ان کا مقصد حل ہوجائے گاSyar
    اگر ان کو یہ بات سمجھ آ گئی تو۔
    بہت اچھے انداز میں جواب تحریر کیا ہے آپ نے۔

  4. #16
    shehzad_ktk79's Avatar
    shehzad_ktk79 is offline Senior Member+
    Last Online
    4th November 2014 @ 12:21 PM
    Join Date
    17 Mar 2010
    Posts
    654
    Threads
    55
    Credits
    822
    Thanked
    26

    Default

    O I get it thanks syar bhai problem solved thanks all who help me.

    lakin aik masla hai ye formula sirf 1 cell me apply ho rha hai me chahta hon k ye pory column me aik sath apply ho

    But me ye janana chahta hon k ye jo process hum ne use kiya hai ye kia hai or es ka kia purpose hai

  5. #17
    syar is offline Advance Member
    Last Online
    24th April 2024 @ 01:04 AM
    Join Date
    31 Jul 2009
    Location
    Nowshera(KP)
    Age
    47
    Gender
    Male
    Posts
    884
    Threads
    9
    Credits
    563
    Thanked
    340

    Default

    Quote shehzad_ktk79 said: View Post
    O I get it thanks syar bhai problem solved thanks all who help me.

    lakin aik masla hai ye formula sirf 1 cell me apply ho rha hai me chahta hon k ye pory column me aik sath apply ho

    But me ye janana chahta hon k ye jo process hum ne use kiya hai ye kia hai or es ka kia purpose hai
    Aap is me single range ko column range m change kar dain.

    Dosre bat ye ka purpose tu aap btao q k query to aap ki ha k kis leye use karte hain jo k m janne m intrested hon?

  6. #18
    Join Date
    27 Sep 2011
    Location
    Hyderabad/Nawabshah
    Age
    37
    Gender
    Male
    Posts
    220
    Threads
    7
    Credits
    0
    Thanked
    5

    Default

    hmmm

  7. #19
    syar is offline Advance Member
    Last Online
    24th April 2024 @ 01:04 AM
    Join Date
    31 Jul 2009
    Location
    Nowshera(KP)
    Age
    47
    Gender
    Male
    Posts
    884
    Threads
    9
    Credits
    563
    Thanked
    340

    Default



    as per your PM replace the code with this one. But remember always select one cell at a time other wise its will return error.

    2nd is ko VBA ya MACRO programming kehte hain. Is k zarye ap bohat zyada kam kar sakte hain jese ap ne example dekhe ap ki query k leye. Ye language ap ko seekhne pare ga aur koi VBA ka expert he sekha sakta ha. M tu khod seekh raha hon.


    Code:
    Private Sub Worksheet_Change(ByVal Target As Range)
    Dim dblVal As Double, rngInterest As Range, lngCount As Long
    On Error GoTo ExitPoint
    Application.EnableEvents = False
    Set rngInterest = Intersect(Target, Range("A1:A20"))
    lngCount = Application.WorksheetFunction.CountA(rngInterest)
    If lngCount Then
        dblVal = Val(rngInterest(1).Value)
        Application.Undo
        If lngCount = 1 Then
            rngInterest.Value = dblVal + Val(rngInterest.Value)
        Else
            MsgBox "Multiple Updates Not Permitted", vbCritical, "Computer Says No"
        End If
    End If
    ExitPoint:
    Set rngInterest = Nothing
    Application.EnableEvents = True
    End Sub
    regards,

  8. #20
    shehzad_ktk79's Avatar
    shehzad_ktk79 is offline Senior Member+
    Last Online
    4th November 2014 @ 12:21 PM
    Join Date
    17 Mar 2010
    Posts
    654
    Threads
    55
    Credits
    822
    Thanked
    26

    Default

    syar bro jise k me ne pm kiya k name show ni ho rha es ki kia solution hai

  9. #21
    Join Date
    09 Apr 2009
    Location
    KARACHI&
    Gender
    Male
    Posts
    19,391
    Threads
    419
    Credits
    39,894
    Thanked
    1813

    Default

    ایک ایک سیل کو منتخب کر کے چیک کریں ۔ممکن ہے کہ کالم کے رینج کی وجہ سے شو نہیں ہورہا ہوگا۔آپ نے سیل کو منتخب کرکے کیا ہے یا رینج کو؟

  10. #22
    syar is offline Advance Member
    Last Online
    24th April 2024 @ 01:04 AM
    Join Date
    31 Jul 2009
    Location
    Nowshera(KP)
    Age
    47
    Gender
    Male
    Posts
    884
    Threads
    9
    Credits
    563
    Thanked
    340

    Default

    Brother Coding Mukhtalif Qism ki hote ha.

    1. Module ya User Define Function (UDF) hote hain.
    2. Event Programming hote hai.

    UDF ya MACRO ki jab coding ki jate ha tu MACRO m name ata ha jab k event programming ka MACRO ka name nahee ata . Jab k Event programming m jab koi kam hota ha tab coding kam karta ha, Jese k ap ka case ma ha agar aap apni coding ko dekhain tu saf lekha ha k worksheet_change (Byval) yani worksheet m koi change ho tu code work karta ha. Umeed ha thoda bohat samajh gai honge.

    regards

  11. #23
    irshadtab is offline Senior Member+
    Last Online
    24th January 2022 @ 03:15 PM
    Join Date
    20 Feb 2012
    Location
    Islamabad
    Gender
    Male
    Posts
    287
    Threads
    20
    Credits
    40
    Thanked
    14

    Default

    Ap apna page Excel page attach kar de

  12. #24
    syed_basit's Avatar
    syed_basit is offline Senior Member+
    Last Online
    18th April 2017 @ 08:56 PM
    Join Date
    23 Oct 2011
    Location
    Mansehra Hazara
    Gender
    Male
    Posts
    1,133
    Threads
    211
    Credits
    102
    Thanked
    29

    Default

    Nice

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. Excel 2003 for Starters: The Missing Manual
    By oralover2006 in forum English IT Zone
    Replies: 2
    Last Post: 28th May 2009, 11:01 AM
  2. MicroSoft Excel short cuts
    By khurshid akhtar in forum General Discussion
    Replies: 1
    Last Post: 17th January 2008, 02:58 PM
  3. MS Office 2000 Shortcut Keys
    By general in forum General Discussion
    Replies: 4
    Last Post: 31st May 2007, 04:07 PM
  4. Excel Shortcut Keys
    By cuticle in forum General Discussion
    Replies: 3
    Last Post: 29th January 2007, 07:45 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •