Amit Agarwal

Linux and Photography Blog
privacy
report

Today I was working on Excel sheets and had to do quite a lot of manipulations. Here are some of those:

1) Find the value of the cell whose number is stored in another cell.

You can use the indirect function.

Here is example:

[caption id="attachment_959" align="alignnone" width="354" caption="indirect"]indirect[/caption]

That’s cool and easy.

2) Indirect reference with some constant values.

You can add constant and cell id with “&

Again example:

[caption id="attachment_960" align="alignnone" width="187" caption="indirect with constant"]indirect with constant[/caption]

3) Data Validity.

Though I knew this but needed something to put on the post. I am quite lazy in writing so here’s something that is already available elsewhere. Here.

4) Avoid increment in cell id when doing copy paste.

Example again:

First I inserted “=a1” in C1 and copied the same. Then selected C2 through C4 and did paste. Here is what will happen:

[caption id="attachment_961" align="alignnone" width="98" caption="copy paste"]copy paste[/caption]

Now I inserted “=$a$1” in C1 and copied the same. Then selected C2 through C4 and did paste. Here is what will happen:

[caption id="attachment_962" align="alignnone" width="120" caption="copy and paste - 2"]copy and paste - 2[/caption]

Why would you want that.. your choice, I need in case of indirect function and for dragging the cells down.

Example:

I enter “=INDIRECT(A1)” in C1 and then drag the same below and select formulae and here is the result:

[caption id="attachment_963" align="alignnone" width="168" caption="Drag Formulae"]Drag Formulae[/caption]

enter “=INDIRECT($A$1)” in C1 and then drag the same below and select formulae and here is the result:

[caption id="attachment_964" align="alignnone" width="196" caption="Drag Formulae 2"]Drag Formulae 2[/caption]

See the difference.

And the last trick is to insert all the sheet names in the current sheet:

Hit Alt+F11
Pick your spreadsheet document and hit [New...]
Add the following code tho the new Basic module.
CODE: SELECT ALL EXPAND VIEW

Function SHEETLIST()
SHEETLIST = ThisComponent.Sheets.getElementNames()
End Function

Array function =SHEETLIST() [Ctrl+Shift+Enter] puts a horizontal list of sheet names.
=TRANSPOSE(SHEETLIST()) does the trick vertically.

The above is taken from here and provided by Villeroy.

Enter Your Mail Address

Openoffice.org and/or Excel useful tips.
Hot:sun Openoffice.org and/or Excel useful tips.sun Openoffice.org and/or Excel useful tips.sun Openoffice.org and/or Excel useful tips.sun Openoffice.org and/or Excel useful tips.sun dark Openoffice.org and/or Excel useful tips.

You are welcome to my blog. Please feel free to share your Good or Bad experiences with me through comment or through email.

Originally posted 2009-08-27 21:37:59.

about
Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • blogmarks
  • Blogosphere News
  • co.mments
  • HelloTxt
  • Ping.fm
  • Reddit
  • RSS
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Technorati
  • Twitter
  • Yahoo! Bookmarks
  • Add to favorites
  • BlinkList
  • Diigo
  • email
  • Identi.ca
  • LinkedIn
  • Live
  • MyShare
  • MySpace
  • PDF
  • SheToldMe
  • Slashdot
  • Socialogs
  • Tumblr

related post

Openoffice.org and/or Excel useful tips.

Facebook comments:

2 Comments »

  1. [...] Openoffice.org and/or Excel useful tips. « Amit Agarwal Posted in Latest Websites | Tags: Innovations, Many, Name, Truly, Useful [...]

  2. [...] Openoffice.org and/or Excel useful tips. « Amit Agarwal [...]

RSS feed for comments on this post. TrackBack URL

Leave a comment



IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)

What is 6 + 12 ?
Please leave these two fields as-is:
trademarks

© 2010 Amit Agarwal | Entries (RSS) and Comments (RSS) | Valid CSS 2.1 Valid XHTML 1.0 Transitional

Powered by Wordpress 3.0, design by Abel, handcrafted by Abel County Laboratories, based on Wsg Standards Wsg Standards

search

Switch to our mobile site

Page optimized by WP Minify WordPress Plugin