Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default help me on if function please


heloo
if i have 2 column like these

1 microsoft



and i have 50 companies in another sheet in the same fil
(sakhr,intel,microsoft,a,b,.....) each company have a number
example
1 sakhr
2 intel
..
..

50 z

and i want to make the first cell value in the second colum
(microsoft) is equal to the company name corresponding to what numbe
person write in the first cell in the first column(1.....50)

how can i do it
as every time i try to write the if function
an error occured at the 9th step, and its only want me to enter 8 i
function

IF(A4=44;'c'!G$44;IF(A4=45;'c'!G$45;IF(A4=46;'c'!G $46;IF(A4=47;'c'!G$47;IF(A4=48;'c'!G$48;IF(A4=49;' c'!G$49;IF(A4=50;'c'!G$50)))))))

i cant write more than that ????????
how can i solve that problem?

--
amrezza
-----------------------------------------------------------------------
amrezzat's Profile: http://www.excelforum.com/member.php...fo&userid=2876
View this thread: http://www.excelforum.com/showthread.php?threadid=48464

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default help me on if function please

In Sheet2 B1

=VLOOKUP(A1;Sheet1!A1:B1000;2;False)

--

HTH

RP
(remove nothere from the email address if mailing direct)


"amrezzat" wrote in
message ...

heloo
if i have 2 column like these

1 microsoft



and i have 50 companies in another sheet in the same file
(sakhr,intel,microsoft,a,b,.....) each company have a number
example
1 sakhr
2 intel
.
.

50 z

and i want to make the first cell value in the second column
(microsoft) is equal to the company name corresponding to what number
person write in the first cell in the first column(1.....50)

how can i do it
as every time i try to write the if function
an error occured at the 9th step, and its only want me to enter 8 if
function


IF(A4=44;'c'!G$44;IF(A4=45;'c'!G$45;IF(A4=46;'c'!G $46;IF(A4=47;'c'!G$47;IF(A
4=48;'c'!G$48;IF(A4=49;'c'!G$49;IF(A4=50;'c'!G$50) ))))))

i cant write more than that ????????
how can i solve that problem??


--
amrezzat
------------------------------------------------------------------------
amrezzat's Profile:

http://www.excelforum.com/member.php...o&userid=28766
View this thread: http://www.excelforum.com/showthread...hreadid=484641



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 Data Validation/Lookup function does function correcty Kirkey Excel Worksheet Functions 2 May 25th 09 09:22 PM
copy of excel file not showing formulal/function in the function b oaallam Excel Discussion (Misc queries) 4 September 6th 07 01:20 PM
LINKEDRANGE function - a complement to the PULL function (for getting values from a closed workbook) [email protected] Excel Worksheet Functions 0 September 5th 06 03:44 PM
Adding a custom function to the default excel function list DonutDel Excel Programming 3 November 21st 03 03:41 PM
User-Defined Function pre-empting Built-in Function? How to undo???? MarWun Excel Programming 1 August 6th 03 09:31 PM


All times are GMT +1. The time now is 12:56 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"