Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-23-2013, 10:19 AM
msheyworth msheyworth is offline Quick eplanation of formular Windows XP Quick eplanation of formular Office 2007
Novice
Quick eplanation of formular
 
Join Date: Mar 2012
Posts: 21
msheyworth is on a distinguished road
Default Quick eplanation of formular

got a formula that works fine just dont understand bits of it formula




=IF(INDEX(Sheet1!$CD:$CD,COLUMN(B31))="ok","Y","N" )

I understand which column and sheets it refers to the only bit that i dont get is the B31 as it dose not matter if i change it to B333 it still refers to to the cell that is second down in column CD ie. cell CD2 it dose not affect the workbook but i was just interested in the way the formula works
Reply With Quote
  #2  
Old 03-23-2013, 11:03 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Quick eplanation of formular Windows 7 64bit Quick eplanation of formular Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,779
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

COLUMN(B31) results in 2 as B is the second column in the sheet . I have no idea why B31 is used instead of 2.
INDEX(Sheet1!$CD:$CD,COLUMN(B31) thus returns the second value it finds in column CD and proceeds with the IF condition

So in fact it says : IF the second value in column CD is "ok" then "y" otherwise "n".
It seems a bit far-fetched on it's own, but maybe put into context it is logical

Cheers
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #3  
Old 03-23-2013, 11:43 AM
msheyworth msheyworth is offline Quick eplanation of formular Windows XP Quick eplanation of formular Office 2007
Novice
Quick eplanation of formular
 
Join Date: Mar 2012
Posts: 21
msheyworth is on a distinguished road
Default

its to enter results in a form from a tester which outputs in a csv file which shows ok and i need it be to Y or N on the form so as i understand it the column becomes abcd going down instead of 1234
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Quick eplanation of formular Quick Parts tmneal74 Word 1 11-13-2012 06:04 PM
Quick eplanation of formular Quick Click not fixed in SP3? implus it Outlook 2 11-09-2011 01:30 PM
Quick eplanation of formular Quick Question jordan_Circle Outlook 2 08-23-2011 06:32 PM
Quick eplanation of formular Quick parts in doc file alokmay Word 1 06-14-2011 04:46 PM
Quick eplanation of formular Duration help (Quick question) davy631 Project 3 03-07-2011 12:55 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:52 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft