Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
cloud
 
Posts: n/a
Default how do i calculate palindromes in Excel?

how do i calculate a list of four digit years that are palindromes in Excel?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Niek Otten
 
Posts: n/a
Default how do i calculate palindromes in Excel?

In A1, enter the number 10.
In A2, enter the formula =A1+1. Fill down to A90.
In B1: =TEXT(A1,"00")&RIGHT(TEXT(A1,"00"),1)&LEFT(TEXT(A1 ,"00"),1)
Fill down.

--
Kind regards,

Niek Otten

"cloud" wrote in message
...
how do i calculate a list of four digit years that are palindromes in
Excel?



  #3   Report Post  
Posted to microsoft.public.excel.misc
B. R.Ramachandran
 
Posts: n/a
Default how do i calculate palindromes in Excel?

Hi,

Use the following formula in any cell and autofill it across 10 columns and
down 9 rows (please don't exceed that range!)

=1001*ROW(A1)+110*(COLUMN(A1)-1)

OR

use the following formula in any cell, substituting "starting row#" with the
actual row number where you are entering the formula, and autofill to reach
"9999" as the result.

=(ROW()+10-starting row#)*100+MOD(ROW()+10-starting
row#,10)*10+QUOTIENT(ROW()+10-starting row#,10)

e.g., if you are entering the formula in any cell in Row 2, the formula
would be,
=(ROW()+10-2)*100+MOD(ROW()+10-2,10)*10+QUOTIENT(ROW()+10-2,10)

Regards,
B. R. Ramachandran

"cloud" wrote:

how do i calculate a list of four digit years that are palindromes in Excel?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
How do I calculate a MTD total - yesterdays sales in Excel? skcaton Excel Worksheet Functions 0 August 11th 05 02:59 PM
How do I calculate the area under a curve in an Excel graph? Suzanne Graham New Users to Excel 2 July 7th 05 01:51 PM
How do I Calculate a future or past date in Excel? MosMash Excel Discussion (Misc queries) 2 July 6th 05 10:15 PM
How to calculate the data in excel 2002 including only the last 9. TylerMaricich Excel Worksheet Functions 6 November 8th 04 07:27 AM


All times are GMT +1. The time now is 04:02 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"