Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Retrieve cell value basis the inputs into a diff cell // sk.

Hi !!

If the cell A5 has the value E
and the call B5 has the value 5
The formula CONCATENATE(A5,B5) will give me the result as E5.
How can i automatically retrieve what is the value in the Cell E5 ?

rgds, sansk_23.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Retrieve cell value basis the inputs into a diff cell // sk.

Try this:

=INDIRECT(A5&B5)

--
Biff
Microsoft Excel MVP


"sansk_23" wrote in message
...
Hi !!

If the cell A5 has the value E
and the call B5 has the value 5
The formula CONCATENATE(A5,B5) will give me the result as E5.
How can i automatically retrieve what is the value in the Cell E5 ?

rgds, sansk_23.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Retrieve cell value basis the inputs into a diff cell // sk.

Just use INDIRECT, viz.:
=INDIRECT(A5&B5)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"sansk_23" wrote:
Hi !!

If the cell A5 has the value E
and the call B5 has the value 5
The formula CONCATENATE(A5,B5) will give me the result as E5.
How can i automatically retrieve what is the value in the Cell E5 ?

rgds, sansk_23.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Retrieve cell value basis the inputs into a diff cell // sk.

Thx.
Further if i have the formula for :
North as - SUMIF($C$1:$Z$1,"N",$C$19:$AA$19)
South as - SUMIF($C$1:$Z$1,"S",$C$19:$AA$19)
West as - SUMIF($C$1:$Z$1,"W",$C$19:$AA$19)
East as - SUMIF($C$1:$Z$1,"E",$C$19:$AA$19)

and for the portion "$C$19:$AA$19" from the above formulas,
i want the row no "19" as an input from another cell , ssay A1.
If i change the value of the cell A1 to 20, then the above formulae should
turn to :
North as - SUMIF($C$1:$Z$1,"N",$C$20:$AA$20)

Pls advise.

rgds, sansk_23



"Max" wrote:

Just use INDIRECT, viz.:
=INDIRECT(A5&B5)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"sansk_23" wrote:
Hi !!

If the cell A5 has the value E
and the call B5 has the value 5
The formula CONCATENATE(A5,B5) will give me the result as E5.
How can i automatically retrieve what is the value in the Cell E5 ?

rgds, sansk_23.

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Retrieve cell value basis the inputs into a diff cell // sk.

You could apply INDIRECT like this:
=SUMIF($C$1:$Z$1,"N",indirect("C"&A1&":Z"&A1)
where A1 will house the row number, eg: 20

Note that your SUMIF ranges should be consistent
(cols C to Z)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"sansk_23" wrote:
Thx.
Further if i have the formula for :
North as - SUMIF($C$1:$Z$1,"N",$C$19:$AA$19)
South as - SUMIF($C$1:$Z$1,"S",$C$19:$AA$19)
West as - SUMIF($C$1:$Z$1,"W",$C$19:$AA$19)
East as - SUMIF($C$1:$Z$1,"E",$C$19:$AA$19)

and for the portion "$C$19:$AA$19" from the above formulas,
i want the row no "19" as an input from another cell , ssay A1.
If i change the value of the cell A1 to 20, then the above formulae should
turn to :
North as - SUMIF($C$1:$Z$1,"N",$C$20:$AA$20)

Pls advise.




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Retrieve cell value basis the inputs into a diff cell // sk.

The formula should read:
=SUMIF($C$1:$Z$1,"N",INDIRECT("C"&A1&":Z"&A1))

(missed out the rightmost closing parens)
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
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
Clear Contents of Adjacent Cell on Conditional Basis DoooWhat Excel Discussion (Misc queries) 8 March 7th 07 02:38 PM
Openinging files using cell inputs MWTCarter Excel Discussion (Misc queries) 0 October 25th 06 03:27 PM
excel should allow me to filter rows on basis of the cell color heramb Excel Worksheet Functions 0 March 22nd 06 05:18 PM
Can I format a cell to round a number by 50 basis points (0.5)? daveb Excel Worksheet Functions 1 October 19th 05 01:49 AM
can i colour a cell on basis of results of a formula e.g clour bl. K Excel Worksheet Functions 3 November 4th 04 06:18 PM


All times are GMT +1. The time now is 12:34 PM.

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

About Us

"It's about Microsoft Excel"