Results 1 to 7 of 7

Thread: excel question

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2005
    Posts
    1,069

    Resolved excel question

    Hello
    I know this is not an excel forum but can you guys tell me if there is any difference between the reference in a cell of say =c22 and =c$22
    Last edited by vb_student; Apr 11th, 2005 at 05:04 AM.

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: excel question

    This is the place!

    $A$1 (absolute column and absolute row)
    A$1 (relative column and absolute row)
    $A1 (absolute column and relative row)
    A1 (relative column and relative row)
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2005
    Posts
    1,069

    Re: excel question

    thanks robdog for the reply
    what is the relative reference "relative" to?


    i wanted to also set a breakpoint in VB, such that if a certain cell (C47) was accessed then the program would break execution there.

    i have done a search in the program, have not come across any instances of accessing, my feeling is that the programmer has used temp variables through run through rows and columns and has accessed it in that manner.
    Last edited by vb_student; Apr 7th, 2005 at 07:14 AM.

  4. #4
    Addicted Member
    Join Date
    Jan 2002
    Location
    Glasgow, Scotland
    Posts
    202

    Re: excel question

    it is relative to the start or initial formula.

    if you copy and paste the formula to another cell, it will update the formula in relation to the start cell.

    hope that makes sense.
    if you fail to plan, you plan to fail

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2005
    Posts
    1,069

    Re: excel question

    thanks for the reply
    so this only holds meaning if i do a copy paste operation of cells.
    and if i have an absolute reference say $a$1 and i copy paste those cells, i will be referencing the same cell.
    correct?

  6. #6
    Addicted Member
    Join Date
    Jan 2002
    Location
    Glasgow, Scotland
    Posts
    202

    Re: excel question

    yes, exactly right.

    if you have an absolute reference it stays fixed even when you copy / paste or drag the formuula to adjacent cells.
    if you fail to plan, you plan to fail

  7. #7

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2005
    Posts
    1,069

    Re: excel question

    thanks dude
    now i wont beintimidated by those $ signs

Posting Permissions

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



Click Here to Expand Forum to Full Width